POST api/BundleType/Add
Request Information
URI Parameters
None.
Body Parameters
BundleTypeDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| bundleTypeId | integer |
None. |
|
| unitTypeId | integer |
None. |
|
| bundleTypeCode | string |
None. |
|
| bundleTypeName | string |
None. |
|
| bundleQty | integer |
None. |
|
| isActive | boolean |
None. |
|
| userRequestId | integer |
None. |
|
| userRoleId | integer |
None. |
|
| userOfficeId | integer |
None. |
|
| timestamp | Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{
"bundleTypeId": 1,
"unitTypeId": 2,
"bundleTypeCode": "sample string 3",
"bundleTypeName": "sample string 4",
"bundleQty": 5,
"isActive": true,
"userRequestId": 7,
"userRoleId": 8,
"userOfficeId": 9,
"timestamp": "QEA="
}
text/html
Sample:
{"bundleTypeId":1,"unitTypeId":2,"bundleTypeCode":"sample string 3","bundleTypeName":"sample string 4","bundleQty":5,"isActive":true,"userRequestId":7,"userRoleId":8,"userOfficeId":9,"timestamp":"QEA="}
application/xml, text/xml
Sample:
<BundleTypeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application.WebAPI.Models.BundleUnit"> <timestamp xmlns="http://schemas.datacontract.org/2004/07/Application.WebAPI.Models">QEA=</timestamp> <userOfficeId xmlns="http://schemas.datacontract.org/2004/07/Application.WebAPI.Models">9</userOfficeId> <userRequestId xmlns="http://schemas.datacontract.org/2004/07/Application.WebAPI.Models">7</userRequestId> <userRoleId xmlns="http://schemas.datacontract.org/2004/07/Application.WebAPI.Models">8</userRoleId> <bundleQty>5</bundleQty> <bundleTypeCode>sample string 3</bundleTypeCode> <bundleTypeId>1</bundleTypeId> <bundleTypeName>sample string 4</bundleTypeName> <isActive>true</isActive> <unitTypeId>2</unitTypeId> </BundleTypeDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.