POST api/AgencyNetwork?systemName={systemName}&username={username}&password={password}

Creates a new agency network

Request Information

URI Parameters

NameDescriptionTypeAdditional information
systemName

string

Required

username

string

Required

password

string

Required

Body Parameters

APIAgencyNetwork
NameDescriptionTypeAdditional information
Id

Unique identifier

integer

None.

AgencyId

Unique identifier of agency to which this belongs

integer

None.

NetworkId

Unique identifier of network to which this relates

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "agencyId": 2,
  "networkId": 3
}

application/xml, text/xml

Sample:
<APIAgencyNetwork xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <AgencyId>2</AgencyId>
  <Id>1</Id>
  <NetworkId>3</NetworkId>
</APIAgencyNetwork>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>