POST SecuritySystemAPI/Locations/AddLocation

Request Information

URI Parameters

None.

Body Parameters

LocationInfo
NameDescriptionTypeAdditional information
BranchID

globally unique identifier

None.

ID

globally unique identifier

None.

Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BranchID": "67ca14b7-d21a-4b3c-9df1-71ae73d1c2b3",
  "ID": "6db5e3c4-3524-4c25-b7b3-737db762b5c2",
  "Name": "sample string 3"
}

application/xml, text/xml

Sample:
<LocationInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SecuritySystem.API.Models">
  <ID>6db5e3c4-3524-4c25-b7b3-737db762b5c2</ID>
  <Name>sample string 3</Name>
  <BranchID>67ca14b7-d21a-4b3c-9df1-71ae73d1c2b3</BranchID>
</LocationInfo>

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 'LocationInfo'.

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>