v1

latestSwagger 2.02026-08-061791731.4 MB
Patient Demographics

{{baseUrl}}/persons/:personId/ethnicities

Gets the ethnicities for the specified person id.

get/persons/{personId}/ethnicities

Path parameters

personIdstring required

(Required) (Required) The id of the person whose ethnicities are being retrieved

Headers

Acceptstring required

Response

OK

personIdstring required
idstring required
descriptionstring required
orderstring required
categoryIdstring required
categoryNamestring required
cdcEthnicityCodestring required

Example response

{
  "personId": "<string>",
  "id": "<string>",
  "description": "<string>",
  "order": "<string>",
  "categoryId": "<string>",
  "categoryName": "<string>",
  "cdcEthnicityCode": "<string>",
  "_links": [
    {
      "href": "<string>",
      "method": "<string>",
      "rel": "<string>",
      "description": "<string>",
      "vendorExtensions": "<string>"
    },
    {
      "href": "<string>",
      "method": "<string>",
      "rel": "<string>",
      "description": "<string>",
      "vendorExtensions": "<string>"
    }
  ]
}