POST api/finetype/insert
Request Information
URI Parameters
None.
Body Parameters
InsertFineTypeRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| FineTypeID | integer |
None. |
|
| BranchID | integer |
None. |
|
| Name | string |
None. |
|
| Amount | decimal number |
None. |
|
| Count | integer |
None. |
|
| Description | string |
None. |
|
| UserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"FineTypeID": 1,
"BranchID": 2,
"Name": "sample string 3",
"Amount": 4.0,
"Count": 5,
"Description": "sample string 6",
"UserID": 7
}
application/xml, text/xml
Sample:
<InsertFineTypeRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers"> <Amount>4</Amount> <BranchID>2</BranchID> <Count>5</Count> <Description>sample string 6</Description> <FineTypeID>1</FineTypeID> <Name>sample string 3</Name> <UserID>7</UserID> </InsertFineTypeRequestModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.