Create a new facility

Creates a new facility that can be used to store information about the facility.

Request
Request Body schema: application/json
name
string

The name of this facility.

parentFacilityId
string <uuid>
dba
string

The DBA of this facility.

addressLine1
string

The street address of this facility.

addressLine2
string

The secondary address information of this facility.

city
string

The city in which the facility address is located.

state
string

The state in which the facility address is located.

Enum: "AL" "AK" "AZ" "AR" "CA" "CO" "CT" "DE" "DC" "FL" "GA" "HI" "ID" "IL" "IN" "IA" "KS" "KY" "LA" "ME" "MD" "MA" "MI" "MN" "MS" "MO" "MT" "NE" "NV" "NH" "NJ" "NM" "NY" "NC" "ND" "OH" "OK" "OR" "PA" "RI" "SC" "SD" "TN" "TX" "UT" "VT" "VA" "WA" "WV" "WI" "WY" "AS" "GU" "MP" "PR" "VI"
zipCode
string

The postal code associated with the facility address.

phoneNumber
string

Phone number associated with the facility.

faxNumber
string

Fax number associated with the facility.

groupTaxId
string

The group tax id associated with the facility.

facilityTaxId
string

The tax id associated with the facility.

contactName
string

The contact name associated with the facility.

contactEmail
string

The contact email associated with the facility.

medicarePartANumber
string
medicarePartBNumber
string
medicaidNumber
string
Responses
201

Created

400

Bad Request

401

Unauthorized

403

Forbidden

500

Server Error

post/facilities
Request samples
application/json
{
  • "name": "string",
  • "parentFacilityId": "ae79f421-c013-4bee-baba-e205d7217df1",
  • "dba": "string",
  • "addressLine1": "string",
  • "addressLine2": "string",
  • "city": "string",
  • "state": "AL",
  • "zipCode": "string",
  • "phoneNumber": "string",
  • "faxNumber": "string",
  • "groupTaxId": "string",
  • "facilityTaxId": "string",
  • "contactName": "string",
  • "contactEmail": "string",
  • "medicarePartANumber": "string",
  • "medicarePartBNumber": "string",
  • "medicaidNumber": "string"
}
Response samples
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "deactivated": true,
  • "parentFacilityId": "ae79f421-c013-4bee-baba-e205d7217df1",
  • "dba": "string",
  • "addressLine1": "string",
  • "addressLine2": "string",
  • "city": "string",
  • "state": "AL",
  • "zipCode": "string",
  • "phoneNumber": "string",
  • "faxNumber": "string",
  • "groupTaxId": "string",
  • "facilityTaxId": "string",
  • "contactName": "string",
  • "contactEmail": "string",
  • "medicarePartANumber": "string",
  • "medicarePartBNumber": "string",
  • "medicaidNumber": "string"
}