POST api/organisationstructure/UpdateBusiness

Request Information

URI Parameters

None.

Body Parameters

RequestAddBusiness
NameDescriptionTypeAdditional information
id

integer

None.

businessname

string

None.

businessnameAr

string

None.

location

integer

None.

phoneno

string

None.

address

string

None.

userid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "businessname": "sample string 2",
  "businessnameAr": "sample string 3",
  "location": 4,
  "phoneno": "sample string 5",
  "address": "sample string 6",
  "userid": 7
}

application/xml, text/xml

Sample:
<RequestAddBusiness xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RRCDR_Attendance_API.Helpers.Custom">
  <address>sample string 6</address>
  <businessname>sample string 2</businessname>
  <businessnameAr>sample string 3</businessnameAr>
  <id>1</id>
  <location>4</location>
  <phoneno>sample string 5</phoneno>
  <userid>7</userid>
</RequestAddBusiness>

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/" />