POST api/groups/{groupid}/facilitybranches
Creates a new facility tied to the specified PharmacyBranch
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| groupid | integer |
Required |
Body Parameters
FacilityAddModel| Name | Description | Type | Additional information |
|---|---|---|---|
| FacilityName |
Sets the name of the location representing the new facility |
string |
Required |
| FacilityNPI |
Sets the npi of the facility |
string |
Required |
| FacilityAdminFirstName |
Sets the first name of the new facility admin |
string |
Required |
| FacilityAdminLastName |
Sets the last name of the new facility admin |
string |
Required |
| FacilityLogonName |
Sets the logon name for the new facility |
string |
Required |
| FacilityLogonPassword |
Sets the logon password for the new facility |
string |
Required |
Request Formats
application/json, text/json, application/json-patch+json
{
"facilityName": "sample string 1",
"facilityNPI": "sample string 2",
"facilityAdminFirstName": "sample string 3",
"facilityAdminLastName": "sample string 4",
"facilityLogonName": "sample string 5",
"facilityLogonPassword": "sample string 6"
}
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
FacilityBranchModel| Name | Description | Type | Additional information |
|---|---|---|---|
| LocationName |
Gets or sets the Location Name |
string |
None. |
| Address |
Gets or sets the Address |
string |
None. |
| City |
Gets or sets the City |
string |
None. |
| State |
Gets or sets the State |
string |
None. |
| ZipCode |
Gets or sets the Zip Code |
string |
None. |
| CompanyID |
Gets or sets the Company ID |
globally unique identifier |
None. |
| CompanyName |
Gets or sets the Company Name |
string |
None. |
| NPI |
Gets or sets the NPI |
string |
None. |
| Active |
Gets or sets the Active status |
integer |
None. |
| Url |
Gets or sets the link representing a link back to the resource |
string |
None. |
| ID |
Gets or sets the identifier for the resource |
integer |
None. |
Response Formats
application/json, text/json, application/json-patch+json
{
"url": "sample string 9",
"id": 10,
"locationName": "sample string 1",
"address": "sample string 2",
"city": "sample string 3",
"state": "sample string 4",
"zipCode": "sample string 5",
"companyID": "9da02afe-fe2b-4d0e-8ee9-41a3c3f0d7c5",
"companyName": "sample string 7",
"npi": "sample string 8",
"active": 1
}