POST api/SystemApi/AddCustomer

Request Information

URI Parameters

None.

Body Parameters

Customers
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Phone

string

None.

Address

string

None.

IsCustomer

boolean

None.

Balance

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Phone": "sample string 3",
  "Address": "sample string 4",
  "IsCustomer": true,
  "Balance": 6.1
}

application/xml, text/xml

Sample:
<Customers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlsamanodyPosApi.Models">
  <Address>sample string 4</Address>
  <Balance>6.1</Balance>
  <Id>1</Id>
  <IsCustomer>true</IsCustomer>
  <Name>sample string 2</Name>
  <Phone>sample string 3</Phone>
</Customers>

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.