PUT product-compositions/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
ProductCompositionRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| SeqNo | integer |
None. |
|
| SaltQty | decimal number |
None. |
|
| SaltQtyUom | byte |
None. |
|
| SaltID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "27a9ecff-bc7d-4f45-9a0a-dd40a5736d7f",
"SeqNo": 2,
"SaltQty": 3.1,
"SaltQtyUom": 64,
"SaltID": "e51710ce-f001-4e0c-ad02-8e14411ce085"
}
application/xml, text/xml
Sample:
<ProductCompositionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZoeLife.BusinessEntities.Requests.Medicine"> <Id>27a9ecff-bc7d-4f45-9a0a-dd40a5736d7f</Id> <SaltID>e51710ce-f001-4e0c-ad02-8e14411ce085</SaltID> <SaltQty>3.1</SaltQty> <SaltQtyUom>64</SaltQtyUom> <SeqNo>2</SeqNo> </ProductCompositionRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultOfGuid| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | globally unique identifier |
None. |
|
| Messages | Collection of string |
None. |
|
| Succeeded | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": "f685c6e8-9e65-4a2e-9351-5fa551186b17",
"Messages": [
"sample string 1",
"sample string 2"
],
"Succeeded": true
}
application/xml, text/xml
Sample:
<ResultOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZoeLife.Shared.Wrapper">
<Messages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Messages>
<Succeeded>true</Succeeded>
<Data>f685c6e8-9e65-4a2e-9351-5fa551186b17</Data>
</ResultOfguid>