POST api/loadtype/insert
Request Information
URI Parameters
None.
Body Parameters
InsertLoadTypeRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| LoadTypeID | integer |
None. |
|
| BranchID | integer |
None. |
|
| LoadTypeName | string |
None. |
|
| Amount | decimal number |
None. |
|
| Description | string |
None. |
|
| UserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"LoadTypeID": 1,
"BranchID": 2,
"LoadTypeName": "sample string 3",
"Amount": 4.0,
"Description": "sample string 5",
"UserID": 6
}
application/xml, text/xml
Sample:
<InsertLoadTypeRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers"> <Amount>4</Amount> <BranchID>2</BranchID> <Description>sample string 5</Description> <LoadTypeID>1</LoadTypeID> <LoadTypeName>sample string 3</LoadTypeName> <UserID>6</UserID> </InsertLoadTypeRequestModel>
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.