POST TCPv1/WSHPRA/ClientOrder/AddProducts?Token={Token}&UserID={UserID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Token | string |
Required |
|
| UserID | integer |
Required |
Body Parameters
AddProducts| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientOrderID | integer |
None. |
|
| ProductID | integer |
None. |
|
| CreatedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PatientOrderID": 1,
"ProductID": 2,
"CreatedBy": 3
}
application/xml, text/xml
Sample:
<AddProducts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartTCPWebAPI.Models.SmartAPI"> <CreatedBy>3</CreatedBy> <PatientOrderID>1</PatientOrderID> <ProductID>2</ProductID> </AddProducts>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |