POST api/eWUS/CheckStatus?pesel={pesel}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pesel | string |
Required |
Body Parameters
eWUSDoctorData| Name | Description | Type | Additional information |
|---|---|---|---|
| Ow_nfz_id | integer |
None. |
|
| Login | string |
None. |
|
| Password | string |
None. |
|
| ContractorType | ContractorType |
None. |
|
| ContractorCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Ow_nfz_id": 1,
"Login": "sample string 2",
"Password": "sample string 3",
"ContractorType": 0,
"ContractorCode": "sample string 4"
}
application/xml, text/xml
Sample:
<eWUSDoctorData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BridgeToP1RESTAPI.Models.eWUS"> <ContractorCode>sample string 4</ContractorCode> <ContractorType>Świadczeniodawca</ContractorType> <Login>sample string 2</Login> <Ow_nfz_id>1</Ow_nfz_id> <Password>sample string 3</Password> </eWUSDoctorData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
eWUSStatus| Name | Description | Type | Additional information |
|---|---|---|---|
| ErrorResponse | ErrorResponse |
None. |
|
| IsInsured | boolean |
None. |
|
| IsError | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"ErrorResponse": {
"Code": "sample string 1",
"Message": "sample string 2",
"StackTrace": "sample string 3",
"Source": 0
},
"IsInsured": true,
"IsError": true
}
application/xml, text/xml
Sample:
<eWUSStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BridgeToP1RESTAPI.Models.eWUS">
<ErrorResponse xmlns:d2p1="http://schemas.datacontract.org/2004/07/BridgeToP1RESTAPI.Models.Error">
<d2p1:Code>sample string 1</d2p1:Code>
<d2p1:Message>sample string 2</d2p1:Message>
<d2p1:Source>General</d2p1:Source>
<d2p1:StackTrace>sample string 3</d2p1:StackTrace>
</ErrorResponse>
<IsError>true</IsError>
<IsInsured>true</IsInsured>
</eWUSStatus>