Create facility
POST/facilities
Create facility
Request
- application/json
Body
required
- MOD1
- MOD1
name Name (string)required
email emailrequired
address Address (string)required
state State (string)required
zip Zip (string)required
country Country (string)required
phone Phone (string)required
cityobject
anyOf
string
is_active Is Active (boolean)
Default value: true
payload_type PayloadType (string)
Possible values: [HL7_V1_0, HL7_V1_1, HL7_V2, CUSTOM, SIMPLE]
Default value: HL7_V2
display_mode DisplayMode (string)
Possible values: [CANVAS, TEMPLATE, FREE]
Default value: TEMPLATE
organization_idobject
anyOf
integer
Responses
- 201
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
id Id (integer)required
name Name (string)required
email emailrequired
address Address (string)required
state State (string)required
zip Zip (string)required
country Country (string)required
phone Phone (string)required
cityobject
anyOf
string
isActive Isactive (boolean)required
{
"id": 0,
"name": "string",
"email": "[email protected]",
"address": "string",
"state": "string",
"zip": "string",
"country": "string",
"phone": "string",
"city": "string",
"isActive": true
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detailobject[]
locobject[]required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...