POST api/Security/GetPartner
Request Information
URI Parameters
None.
Body Parameters
PartnerRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PartnerCode | string |
None. |
|
| PartnerLink | string |
None. |
|
| PatientID | globally unique identifier |
None. |
|
| WebApiVersion | integer |
None. |
|
| Language | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PartnerCode": "sample string 1",
"PartnerLink": "sample string 2",
"PatientID": "9cebca5e-d054-4eaa-b8f1-0682d2fcf85d",
"WebApiVersion": 4,
"Language": "sample string 5"
}
application/xml, text/xml
Sample:
<PartnerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO"> <Language>sample string 5</Language> <PatientID>9cebca5e-d054-4eaa-b8f1-0682d2fcf85d</PatientID> <WebApiVersion>4</WebApiVersion> <PartnerCode>sample string 1</PartnerCode> <PartnerLink>sample string 2</PartnerLink> </PartnerRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PartnerResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Partner | Partner |
None. |
|
| WebApiVersion | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Partner": {
"PartnerID": "2b151fc5-caa3-4ad5-aa73-dd9a5846798c",
"PartnerName": "sample string 2"
},
"WebApiVersion": 1
}
application/xml, text/xml
Sample:
<PartnerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
<WebApiVersion>1</WebApiVersion>
<Partner>
<PartnerID>2b151fc5-caa3-4ad5-aa73-dd9a5846798c</PartnerID>
<PartnerName>sample string 2</PartnerName>
</Partner>
</PartnerResponse>