POST TCPV1/Prescription/InsertPrescriptionProduct?Token={Token}&UserID={UserID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Token | string |
Required |
|
| UserID | integer |
Required |
Body Parameters
PrescriptionProductRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientProductID | integer |
None. |
|
| PrescriptionID | integer |
None. |
|
| PrescriptionProductGroupID | integer |
None. |
|
| ProductID | integer |
None. |
|
| PrescribedDosage | decimal number |
None. |
|
| PrescribedQty | integer |
None. |
|
| UsualQty | integer |
None. |
|
| UnitID | integer |
None. |
|
| StartDate | date |
None. |
|
| NextTreatmentDate | date |
None. |
|
| NextTimeOfDayID | integer |
None. |
|
| NextOrderQuantity | integer |
None. |
|
| NextDeliveryDate | date |
None. |
|
| CollectionDate | date |
None. |
|
| BoxQty | integer |
None. |
|
| TimeOfDayID | integer |
None. |
|
| Duration | string |
None. |
|
| EndDate | date |
None. |
|
| AttributeXML | string |
None. |
|
| UserID | integer |
None. |
|
| Instruction | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PatientProductID": 1,
"PrescriptionID": 2,
"PrescriptionProductGroupID": 3,
"ProductID": 4,
"PrescribedDosage": 5.0,
"PrescribedQty": 6,
"UsualQty": 7,
"UnitID": 8,
"StartDate": "2026-08-27T04:04:31.7554516+01:00",
"NextTreatmentDate": "2026-08-27T04:04:31.7554516+01:00",
"NextTimeOfDayID": 1,
"NextOrderQuantity": 9,
"NextDeliveryDate": "2026-08-27T04:04:31.7554516+01:00",
"CollectionDate": "2026-08-27T04:04:31.7554516+01:00",
"BoxQty": 1,
"TimeOfDayID": 1,
"Duration": "sample string 10",
"EndDate": "2026-08-27T04:04:31.7554516+01:00",
"AttributeXML": "sample string 11",
"UserID": 12,
"Instruction": "sample string 13"
}
application/xml, text/xml
Sample:
<PrescriptionProductRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.SmartAPI"> <AttributeXML>sample string 11</AttributeXML> <BoxQty>1</BoxQty> <CollectionDate>2026-08-27T04:04:31.7554516+01:00</CollectionDate> <Duration>sample string 10</Duration> <EndDate>2026-08-27T04:04:31.7554516+01:00</EndDate> <Instruction>sample string 13</Instruction> <NextDeliveryDate>2026-08-27T04:04:31.7554516+01:00</NextDeliveryDate> <NextOrderQuantity>9</NextOrderQuantity> <NextTimeOfDayID>1</NextTimeOfDayID> <NextTreatmentDate>2026-08-27T04:04:31.7554516+01:00</NextTreatmentDate> <PatientProductID>1</PatientProductID> <PrescribedDosage>5</PrescribedDosage> <PrescribedQty>6</PrescribedQty> <PrescriptionID>2</PrescriptionID> <PrescriptionProductGroupID>3</PrescriptionProductGroupID> <ProductID>4</ProductID> <StartDate>2026-08-27T04:04:31.7554516+01:00</StartDate> <TimeOfDayID>1</TimeOfDayID> <UnitID>8</UnitID> <UserID>12</UserID> <UsualQty>7</UsualQty> </PrescriptionProductRequest>
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. |