POST api/Requester/AddCustomer

Request Information

URI Parameters

None.

Body Parameters

CustomerModel
NameDescriptionTypeAdditional information
Lang

integer

None.

NameAr

string

None.

NameEn

string

None.

CompanyID

integer

None.

IsOwner

boolean

None.

UserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Lang": 1,
  "NameAr": "sample string 1",
  "NameEn": "sample string 2",
  "CompanyID": 3,
  "IsOwner": true,
  "UserID": 5
}

application/xml, text/xml

Sample:
<CustomerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <CompanyID>3</CompanyID>
  <IsOwner>true</IsOwner>
  <Lang>1</Lang>
  <NameAr>sample string 1</NameAr>
  <NameEn>sample string 2</NameEn>
  <UserID>5</UserID>
</CustomerModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.