POST api/CaseCartOrderContent/ReplaceItem?caseCartStorageId={caseCartStorageId}&token={token}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| caseCartStorageId | integer |
Required |
|
| token | string |
Required |
Body Parameters
MDLReplaceCaseCartOrderContent| Name | Description | Type | Additional information |
|---|---|---|---|
| CaseCartOrderContentId | integer |
None. |
|
| Replacement | MDLCaseCartOrderContentReplacement |
None. |
Request Formats
application/json, text/json
Sample:
{
"CaseCartOrderContentId": 1,
"Replacement": {
"ContentID": 1,
"ContentType": 1,
"ContentName": "sample string 2",
"ContentNumber": "sample string 3",
"Amount": 4,
"Description": "sample string 5",
"Department": "sample string 6"
}
}
application/xml, text/xml
Sample:
<MDLReplaceCaseCartOrderContent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asanus.BarCon.Middleware.Shared">
<CaseCartOrderContentId>1</CaseCartOrderContentId>
<Replacement>
<Amount>4</Amount>
<ContentID>1</ContentID>
<ContentName>sample string 2</ContentName>
<ContentNumber>sample string 3</ContentNumber>
<ContentType>Consumable</ContentType>
<Department>sample string 6</Department>
<Description>sample string 5</Description>
</Replacement>
</MDLReplaceCaseCartOrderContent>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MDLReplacementResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Successfull | boolean |
None. |
|
| Message | string |
None. |
|
| Content | MDLAsanusCaseCartOrderContentItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"Successfull": true,
"Message": "sample string 2",
"Content": {
"CaseCartOrderContentId": 1,
"Position": 2,
"ContentType": 1,
"ContentID": 3,
"MinimumCount": 4,
"MaximumCount": 5,
"ContentCount": 6,
"ReturnCount": 7,
"ArticleDeficiency": true,
"ContentUnit": "sample string 9",
"ContentNumber": "sample string 10",
"ContentName": "sample string 11",
"StorageBarcode": "sample string 12",
"StoragePath": "sample string 13",
"PickingSequence": 14,
"Comment": "sample string 15",
"TemplateContentPackingNote": "sample string 16",
"TemplateContentDescription": "sample string 17",
"StorageLayer4Id": 18,
"StorageLayer4ConsuamblesId": 19,
"SetId": 20
}
}
application/xml, text/xml
Sample:
<MDLReplacementResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asanus.BarCon.Middleware.Shared">
<Content>
<ArticleDeficiency>true</ArticleDeficiency>
<CaseCartOrderContentId>1</CaseCartOrderContentId>
<Comment>sample string 15</Comment>
<ContentCount>6</ContentCount>
<ContentID>3</ContentID>
<ContentName>sample string 11</ContentName>
<ContentNumber>sample string 10</ContentNumber>
<ContentType>Consumable</ContentType>
<ContentUnit>sample string 9</ContentUnit>
<MaximumCount>5</MaximumCount>
<MinimumCount>4</MinimumCount>
<PickingSequence>14</PickingSequence>
<Position>2</Position>
<ReturnCount>7</ReturnCount>
<SetId>20</SetId>
<StorageBarcode>sample string 12</StorageBarcode>
<StorageLayer4ConsuamblesId>19</StorageLayer4ConsuamblesId>
<StorageLayer4Id>18</StorageLayer4Id>
<StoragePath>sample string 13</StoragePath>
<TemplateContentDescription>sample string 17</TemplateContentDescription>
<TemplateContentPackingNote>sample string 16</TemplateContentPackingNote>
</Content>
<Message>sample string 2</Message>
<Successfull>true</Successfull>
</MDLReplacementResult>