POST api/admin/mobile-app/business/save

Request Information

URI Parameters

None.

Body Parameters

BusinessRequest
NameDescriptionTypeAdditional information
ID

integer

None.

BusinessID

integer

None.

BranchID

integer

None.

KopaID

string

None.

BusinessName

string

None.

Phone

string

None.

Email

string

None.

Address

string

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "BusinessID": 2,
  "BranchID": 3,
  "KopaID": "sample string 4",
  "BusinessName": "sample string 5",
  "Phone": "sample string 6",
  "Email": "sample string 7",
  "Address": "sample string 8",
  "IsActive": true
}

application/xml, text/xml

Sample:
<AdminMobileAppController.BusinessRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OGOnlineAPI.Controllers">
  <Address>sample string 8</Address>
  <BranchID>3</BranchID>
  <BusinessID>2</BusinessID>
  <BusinessName>sample string 5</BusinessName>
  <Email>sample string 7</Email>
  <ID>1</ID>
  <IsActive>true</IsActive>
  <KopaID>sample string 4</KopaID>
  <Phone>sample string 6</Phone>
</AdminMobileAppController.BusinessRequest>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.