POST api/CHA/PostSBPackageDetails
Request Information
URI Parameters
None.
Body Parameters
PackageDetailInput| Name | Description | Type | Additional information |
|---|---|---|---|
| SB_ID | integer |
None. |
|
| SB_CP_ID | integer |
None. |
|
| SB_CREATED_BY | integer |
None. |
|
| SB_PAK_DETAILS | Collection of SB_PAK_DETAILS |
None. |
Request Formats
application/json, text/json
Sample:
{
"SB_ID": 1,
"SB_CP_ID": 1,
"SB_CREATED_BY": 1,
"SB_PAK_DETAILS": [
{
"SPD_ID": 1,
"SPD_FROM_PAK_NO": "sample string 1",
"SPD_TO_PAK_NO": "sample string 2",
"SPD_PAK_ID": 1,
"SPD_PAK_CODE": "sample string 3",
"SPD_PAK_COUNT": 1
},
{
"SPD_ID": 1,
"SPD_FROM_PAK_NO": "sample string 1",
"SPD_TO_PAK_NO": "sample string 2",
"SPD_PAK_ID": 1,
"SPD_PAK_CODE": "sample string 3",
"SPD_PAK_COUNT": 1
}
]
}
application/xml, text/xml
Sample:
<PackageDetailInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
<SB_CP_ID>1</SB_CP_ID>
<SB_CREATED_BY>1</SB_CREATED_BY>
<SB_ID>1</SB_ID>
<SB_PAK_DETAILS>
<SB_PAK_DETAILS>
<SPD_FROM_PAK_NO>sample string 1</SPD_FROM_PAK_NO>
<SPD_ID>1</SPD_ID>
<SPD_PAK_CODE>sample string 3</SPD_PAK_CODE>
<SPD_PAK_COUNT>1</SPD_PAK_COUNT>
<SPD_PAK_ID>1</SPD_PAK_ID>
<SPD_TO_PAK_NO>sample string 2</SPD_TO_PAK_NO>
</SB_PAK_DETAILS>
<SB_PAK_DETAILS>
<SPD_FROM_PAK_NO>sample string 1</SPD_FROM_PAK_NO>
<SPD_ID>1</SPD_ID>
<SPD_PAK_CODE>sample string 3</SPD_PAK_CODE>
<SPD_PAK_COUNT>1</SPD_PAK_COUNT>
<SPD_PAK_ID>1</SPD_PAK_ID>
<SPD_TO_PAK_NO>sample string 2</SPD_TO_PAK_NO>
</SB_PAK_DETAILS>
</SB_PAK_DETAILS>
</PackageDetailInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |