POST api/PackSize/DeletePackSize

Request Information

URI Parameters

None.

Body Parameters

EditPackSizeCommandDto
NameDescriptionTypeAdditional 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": "2d70b841-15b0-4d33-b20c-3e4a11ba5ed4",
  "PackSize": "sample string 2",
  "UOMId": "aa1a6040-dfc3-4b83-b63d-40172127316b",
  "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>2d70b841-15b0-4d33-b20c-3e4a11ba5ed4</Id>
  <MG>sample string 5</MG>
  <PackSize>sample string 2</PackSize>
  <UOMId>aa1a6040-dfc3-4b83-b63d-40172127316b</UOMId>
  <UserId>sample string 6</UserId>
</EditPackSizeCommandDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EditPackSizeCommandDto'.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional 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>