GET api/schemes/administrator?code={code}&model={model}
Scheme Administrator Lookup
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| code |
Medprax Scheme Administrator Code |
string |
Required |
| model |
Include the related model hierarchy |
boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
SchemeAdministratorResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SchemeAdministrator | SchemeAdministratorModel |
None. |
|
| DataError | DataError |
None. |
|
| IsDemoData | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"SchemeAdministrator": {
"Code": "sample string 1",
"Name": "sample string 2",
"DiscontinuedDate": "2025-12-11T17:25:00.4065864+02:00",
"SchemeCodeList": [
"sample string 1",
"sample string 2"
]
},
"DataError": {
"Code": 1,
"Message": "sample string 2"
},
"IsDemoData": true
}
application/xml, text/xml
Sample:
<SchemeAdministratorResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Medprax.WebAPI.Models.ResponseModels.MedpraxScheme">
<DataError xmlns:d2p1="http://schemas.datacontract.org/2004/07/Medprax.WebAPI.Models.Error" xmlns="http://schemas.datacontract.org/2004/07/Medprax.WebAPI.Models.ResponseModels">
<d2p1:Code>1</d2p1:Code>
<d2p1:Message>sample string 2</d2p1:Message>
</DataError>
<IsDemoData xmlns="http://schemas.datacontract.org/2004/07/Medprax.WebAPI.Models.ResponseModels">true</IsDemoData>
<SchemeAdministrator xmlns:d2p1="http://schemas.datacontract.org/2004/07/Medprax.WebAPI.Models.Models.MedpraxScheme">
<d2p1:Code>sample string 1</d2p1:Code>
<d2p1:DiscontinuedDate>2025-12-11T17:25:00.4065864+02:00</d2p1:DiscontinuedDate>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:SchemeCodeList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>sample string 1</d3p1:string>
<d3p1:string>sample string 2</d3p1:string>
</d2p1:SchemeCodeList>
</SchemeAdministrator>
</SchemeAdministratorResponseModel>