POST TCPV1/Patient/InsertPatientDetails?Token={Token}&UserID={UserID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Token | string |
Required |
|
| UserID | integer |
Required |
Body Parameters
InsertPatientDetailsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientID | integer |
None. |
|
| AccountNumber | string |
None. |
|
| Active | boolean |
None. |
|
| ShortName | string |
None. |
|
| FirstName | string |
None. |
|
| Lastname | string |
None. |
|
| DOB | date |
None. |
|
| TitleID | integer |
None. |
|
| Telephone | string |
None. |
|
| Mobile | string |
None. |
|
| RouteID | integer |
None. |
|
| PMGSRN | string |
None. |
|
| ConsultantID | integer |
None. |
|
| ConsultantName | string |
None. |
|
| ConsultantGLN | string |
None. |
|
| HospitalID | integer |
None. |
|
| ContactPersonName | string |
None. |
|
| ContactPersonTelephone | string |
None. |
|
| ContactPersonMobile | string |
None. |
|
| RelationID | integer |
None. |
|
| DeficiencyFactorID | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| SharpBinServiceID | integer |
None. |
|
| PatientAnalysisCodeID | integer |
None. |
|
| IsGiftingClient | boolean |
None. |
|
| TreatmentOfChoice | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PatientID": 1,
"AccountNumber": "sample string 1",
"Active": true,
"ShortName": "sample string 2",
"FirstName": "sample string 3",
"Lastname": "sample string 4",
"DOB": "2026-08-27T04:01:12.6226351+01:00",
"TitleID": 1,
"Telephone": "sample string 5",
"Mobile": "sample string 6",
"RouteID": 1,
"PMGSRN": "sample string 7",
"ConsultantID": 1,
"ConsultantName": "sample string 8",
"ConsultantGLN": "sample string 9",
"HospitalID": 1,
"ContactPersonName": "sample string 10",
"ContactPersonTelephone": "sample string 11",
"ContactPersonMobile": "sample string 12",
"RelationID": 1,
"DeficiencyFactorID": 1,
"CreatedBy": 1,
"SharpBinServiceID": 1,
"PatientAnalysisCodeID": 1,
"IsGiftingClient": true,
"TreatmentOfChoice": "sample string 13"
}
application/xml, text/xml
Sample:
<InsertPatientDetailsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.SmartAPI"> <AccountNumber>sample string 1</AccountNumber> <Active>true</Active> <ConsultantGLN>sample string 9</ConsultantGLN> <ConsultantID>1</ConsultantID> <ConsultantName>sample string 8</ConsultantName> <ContactPersonMobile>sample string 12</ContactPersonMobile> <ContactPersonName>sample string 10</ContactPersonName> <ContactPersonTelephone>sample string 11</ContactPersonTelephone> <CreatedBy>1</CreatedBy> <DOB>2026-08-27T04:01:12.6226351+01:00</DOB> <DeficiencyFactorID>1</DeficiencyFactorID> <FirstName>sample string 3</FirstName> <HospitalID>1</HospitalID> <IsGiftingClient>true</IsGiftingClient> <Lastname>sample string 4</Lastname> <Mobile>sample string 6</Mobile> <PMGSRN>sample string 7</PMGSRN> <PatientAnalysisCodeID>1</PatientAnalysisCodeID> <PatientID>1</PatientID> <RelationID>1</RelationID> <RouteID>1</RouteID> <SharpBinServiceID>1</SharpBinServiceID> <ShortName>sample string 2</ShortName> <Telephone>sample string 5</Telephone> <TitleID>1</TitleID> <TreatmentOfChoice>sample string 13</TreatmentOfChoice> </InsertPatientDetailsRequest>
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. |