POST api/groups/{groupid}/facilitybranches

Creates a new facility tied to the specified PharmacyBranch

Request Information

URI Parameters

NameDescriptionTypeAdditional information
groupid

integer

Required

Body Parameters

FacilityAddModel
NameDescriptionTypeAdditional 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

Sample:
{
  "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:

Sample not available.

Response Information

Resource Description

FacilityBranchModel
NameDescriptionTypeAdditional 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

Sample:
{
  "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": "4b80f638-4ee9-49c3-a18e-e63617395497",
  "companyName": "sample string 7",
  "npi": "sample string 8",
  "active": 1
}