GET products/all
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ResultOfIEnumerableOfProductResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of ProductResponse |
None. |
|
| Messages | Collection of string |
None. |
|
| Succeeded | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"ID": "ff0fdacb-4a43-4d28-b488-806349d77d5a",
"Name": "sample string 2",
"DosesForm": 64,
"DosesFormName": "sample string 4",
"Description": "sample string 5",
"PharmaCompanyId": "cbc46734-0b87-4552-ad93-1d6ee83e7307",
"Compositions": [
{
"ID": "3456ffa7-5680-485d-b0ec-280726c5a61c",
"SeqNo": 2,
"SaltQty": 3.1,
"SaltQtyUom": 64,
"SaltQtyUomName": "sample string 5",
"SaltID": "3fdea15b-9b42-4527-a5c6-970a5fe75cc2",
"SaltName": "sample string 7"
},
{
"ID": "3456ffa7-5680-485d-b0ec-280726c5a61c",
"SeqNo": 2,
"SaltQty": 3.1,
"SaltQtyUom": 64,
"SaltQtyUomName": "sample string 5",
"SaltID": "3fdea15b-9b42-4527-a5c6-970a5fe75cc2",
"SaltName": "sample string 7"
}
]
},
{
"ID": "ff0fdacb-4a43-4d28-b488-806349d77d5a",
"Name": "sample string 2",
"DosesForm": 64,
"DosesFormName": "sample string 4",
"Description": "sample string 5",
"PharmaCompanyId": "cbc46734-0b87-4552-ad93-1d6ee83e7307",
"Compositions": [
{
"ID": "3456ffa7-5680-485d-b0ec-280726c5a61c",
"SeqNo": 2,
"SaltQty": 3.1,
"SaltQtyUom": 64,
"SaltQtyUomName": "sample string 5",
"SaltID": "3fdea15b-9b42-4527-a5c6-970a5fe75cc2",
"SaltName": "sample string 7"
},
{
"ID": "3456ffa7-5680-485d-b0ec-280726c5a61c",
"SeqNo": 2,
"SaltQty": 3.1,
"SaltQtyUom": 64,
"SaltQtyUomName": "sample string 5",
"SaltID": "3fdea15b-9b42-4527-a5c6-970a5fe75cc2",
"SaltName": "sample string 7"
}
]
}
],
"Messages": [
"sample string 1",
"sample string 2"
],
"Succeeded": true
}
application/xml, text/xml
Sample:
<ResultOfArrayOfProductResponseKc8EBiTH 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 xmlns:d2p1="http://schemas.datacontract.org/2004/07/ZoeLife.BusinessEntities.Responses.Medicine">
<d2p1:ProductResponse>
<d2p1:Compositions>
<d2p1:ProductCompositionResponse>
<d2p1:ID>3456ffa7-5680-485d-b0ec-280726c5a61c</d2p1:ID>
<d2p1:SaltID>3fdea15b-9b42-4527-a5c6-970a5fe75cc2</d2p1:SaltID>
<d2p1:SaltName>sample string 7</d2p1:SaltName>
<d2p1:SaltQty>3.1</d2p1:SaltQty>
<d2p1:SaltQtyUom>64</d2p1:SaltQtyUom>
<d2p1:SaltQtyUomName>sample string 5</d2p1:SaltQtyUomName>
<d2p1:SeqNo>2</d2p1:SeqNo>
</d2p1:ProductCompositionResponse>
<d2p1:ProductCompositionResponse>
<d2p1:ID>3456ffa7-5680-485d-b0ec-280726c5a61c</d2p1:ID>
<d2p1:SaltID>3fdea15b-9b42-4527-a5c6-970a5fe75cc2</d2p1:SaltID>
<d2p1:SaltName>sample string 7</d2p1:SaltName>
<d2p1:SaltQty>3.1</d2p1:SaltQty>
<d2p1:SaltQtyUom>64</d2p1:SaltQtyUom>
<d2p1:SaltQtyUomName>sample string 5</d2p1:SaltQtyUomName>
<d2p1:SeqNo>2</d2p1:SeqNo>
</d2p1:ProductCompositionResponse>
</d2p1:Compositions>
<d2p1:Description>sample string 5</d2p1:Description>
<d2p1:DosesForm>64</d2p1:DosesForm>
<d2p1:DosesFormName>sample string 4</d2p1:DosesFormName>
<d2p1:ID>ff0fdacb-4a43-4d28-b488-806349d77d5a</d2p1:ID>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:PharmaCompanyId>cbc46734-0b87-4552-ad93-1d6ee83e7307</d2p1:PharmaCompanyId>
</d2p1:ProductResponse>
<d2p1:ProductResponse>
<d2p1:Compositions>
<d2p1:ProductCompositionResponse>
<d2p1:ID>3456ffa7-5680-485d-b0ec-280726c5a61c</d2p1:ID>
<d2p1:SaltID>3fdea15b-9b42-4527-a5c6-970a5fe75cc2</d2p1:SaltID>
<d2p1:SaltName>sample string 7</d2p1:SaltName>
<d2p1:SaltQty>3.1</d2p1:SaltQty>
<d2p1:SaltQtyUom>64</d2p1:SaltQtyUom>
<d2p1:SaltQtyUomName>sample string 5</d2p1:SaltQtyUomName>
<d2p1:SeqNo>2</d2p1:SeqNo>
</d2p1:ProductCompositionResponse>
<d2p1:ProductCompositionResponse>
<d2p1:ID>3456ffa7-5680-485d-b0ec-280726c5a61c</d2p1:ID>
<d2p1:SaltID>3fdea15b-9b42-4527-a5c6-970a5fe75cc2</d2p1:SaltID>
<d2p1:SaltName>sample string 7</d2p1:SaltName>
<d2p1:SaltQty>3.1</d2p1:SaltQty>
<d2p1:SaltQtyUom>64</d2p1:SaltQtyUom>
<d2p1:SaltQtyUomName>sample string 5</d2p1:SaltQtyUomName>
<d2p1:SeqNo>2</d2p1:SeqNo>
</d2p1:ProductCompositionResponse>
</d2p1:Compositions>
<d2p1:Description>sample string 5</d2p1:Description>
<d2p1:DosesForm>64</d2p1:DosesForm>
<d2p1:DosesFormName>sample string 4</d2p1:DosesFormName>
<d2p1:ID>ff0fdacb-4a43-4d28-b488-806349d77d5a</d2p1:ID>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:PharmaCompanyId>cbc46734-0b87-4552-ad93-1d6ee83e7307</d2p1:PharmaCompanyId>
</d2p1:ProductResponse>
</Data>
</ResultOfArrayOfProductResponseKc8EBiTH>