POST api/PackSize/EditPackSize
Request Information
URI Parameters
None.
Body Parameters
EditPackSizeCommandDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| PackSize | string |
None. |
|
| UOMId | globally unique identifier |
None. |
|
| Code | string |
None. |
|
| MG | string |
None. |
|
| UserId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "12459620-cda2-4501-b5a0-592bf5d81fbd",
"PackSize": "sample string 2",
"UOMId": "6a402953-aa5d-4225-be23-8ff4b339d49b",
"Code": "sample string 4",
"MG": "sample string 5",
"UserId": "sample string 6"
}
application/xml, text/xml
Sample:
<EditPackSizeCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.PackSizeModel.Model"> <Code>sample string 4</Code> <Id>12459620-cda2-4501-b5a0-592bf5d81fbd</Id> <MG>sample string 5</MG> <PackSize>sample string 2</PackSize> <UOMId>6a402953-aa5d-4225-be23-8ff4b339d49b</UOMId> <UserId>sample string 6</UserId> </EditPackSizeCommandDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Status |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 0,
"Message": "sample string 1"
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Utilities.Common"> <Message>sample string 1</Message> <Status>Failed</Status> </Response>