POST api/Dispatch/AddDispatchBucket
Request Information
URI Parameters
None.
Body Parameters
DispatchBucketRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| DispatchBucketId | integer |
None. |
|
| DisptachBucketName | string |
None. |
|
| DispatchBucketDate | string |
None. |
|
| CreatedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"DispatchBucketId": 1,
"DisptachBucketName": "sample string 2",
"DispatchBucketDate": "sample string 3",
"CreatedBy": 4
}
application/xml, text/xml
Sample:
<DispatchEntity.DispatchBucketRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IPMSAPIV1.Entity"> <CreatedBy>4</CreatedBy> <DispatchBucketDate>sample string 3</DispatchBucketDate> <DispatchBucketId>1</DispatchBucketId> <DisptachBucketName>sample string 2</DisptachBucketName> </DispatchEntity.DispatchBucketRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| responseCode | integer |
None. |
|
| responseMessage | string |
None. |
|
| Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"responseCode": 1,
"responseMessage": "sample string 2",
"Id": 3
}
application/xml, text/xml
Sample:
<DispatchEntity.APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IPMSAPIV1.Entity"> <Id>3</Id> <responseCode>1</responseCode> <responseMessage>sample string 2</responseMessage> </DispatchEntity.APIResponse>