POST SecuritySystemAPI/Branches/AddBranch

Request Information

URI Parameters

None.

Body Parameters

BranchInfo
NameDescriptionTypeAdditional information
CityID

globally unique identifier

None.

ID

globally unique identifier

None.

Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CityID": "1c2fce01-f669-4950-b50f-d6af1d464401",
  "ID": "856837f8-88c5-406c-a3ed-2954ceedffce",
  "Name": "sample string 3"
}

application/xml, text/xml

Sample:
<BranchInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SecuritySystem.API.Models">
  <ID>856837f8-88c5-406c-a3ed-2954ceedffce</ID>
  <Name>sample string 3</Name>
  <CityID>1c2fce01-f669-4950-b50f-d6af1d464401</CityID>
</BranchInfo>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BranchInfo'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

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