POST api/organisationstructure/AddBranch

Request Information

URI Parameters

None.

Body Parameters

RequestAddBranch
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

nameAr

string

None.

location

integer

None.

business

integer

None.

userid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "nameAr": "sample string 3",
  "location": 4,
  "business": 5,
  "userid": 6
}

application/xml, text/xml

Sample:
<RequestAddBranch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RRCDR_Attendance_API.Helpers.Custom">
  <business>5</business>
  <id>1</id>
  <location>4</location>
  <name>sample string 2</name>
  <nameAr>sample string 3</nameAr>
  <userid>6</userid>
</RequestAddBranch>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />