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": "0534fc6d-1570-4fd9-be8b-db5860241c62",
  "ID": "67bef8af-966d-4f83-bbaf-317585cff06e",
  "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>67bef8af-966d-4f83-bbaf-317585cff06e</ID>
  <Name>sample string 3</Name>
  <CityID>0534fc6d-1570-4fd9-be8b-db5860241c62</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>