POST api/Demographics/ethnicity/get

Returns the ethnicity of the patient from InteliChart demographics.

Request Information

URI Parameters

None.

Body Parameters

BaseRequest
NameDescriptionTypeAdditional information
PersonUid

Encryped passcode for the authenticated user.

string

Required

StartDate

Start date of the request. A time component is not used when passing the start date.

date

[Optional]

EndDate

End date of the request. A time component is not used when passing the end date.

date

[Optional]

Request Formats

application/json, text/json

Sample:
{
  "PersonUid": "sample string 1",
  "StartDate": "2024-04-20T00:50:47.6766933-04:00",
  "EndDate": "2024-04-20T00:50:47.6766933-04:00"
}

Response Information

Resource Description

EthnicityResponse
NameDescriptionTypeAdditional information
ErrorMessage

If the success property is false, the ErrorMessage property will contain error text, otherwise it will be null.

string
ErrorType

Text of the type of error that has occured (See the Error Handling section for more information).

string
Success

Represents the success of the call.

boolean
Ethnicities

List of ethnicities of a patient.

Collection of Ethnicity

Response Formats

application/json, text/json

Sample:
{
  "Ethnicities": [
    {
      "Name": "sample string 1",
      "Code": "sample string 2"
    },
    {
      "Name": "sample string 1",
      "Code": "sample string 2"
    }
  ],
  "ErrorMessage": "sample string 1",
  "ErrorType": "sample string 2",
  "Success": true
}