PUT api/Customers

Request Information

URI Parameters

None.

Body Parameters

Customers
NameDescriptionTypeAdditional information
branch

integer

None.

id

integer

None.

name

string

None.

stop_trans

integer

None.

WithoutTax

integer

None.

country

integer

None.

city

integer

None.

area

integer

None.

act

integer

None.

national_id

string

None.

tel

string

None.

mobile

string

None.

fax

string

None.

email

string

None.

notes

string

None.

IS_Deleted

boolean

None.

maxdepit

decimal number

None.

type

integer

None.

tax_no

string

None.

Cust_group_id

integer

None.

cust_DiscValue

integer

None.

cust_PresValue

integer

None.

address

string

None.

car_number

string

None.

car_shace

string

None.

Cust_inv_type

integer

None.

acc_no

integer

None.

CustandSup

integer

None.

res_id

integer

None.

IValue

decimal number

None.

desc3

string

None.

desc4

string

None.

enable_sms

integer

None.

tax_no_build

string

None.

tax_name_street

string

None.

tax_name_district

string

None.

tax_name_city

string

None.

tax_name_country

string

None.

tax_zip_code

string

None.

tax_additional_address_no

string

None.

tax_vat_registration_no

string

None.

name_father

string

None.

name_mather

string

None.

status

integer

None.

cust_image

Binary

None.

Date_Birth

date

None.

salesmen

integer

None.

level_price

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "branch": 1,
  "id": 1,
  "name": "sample string 2",
  "stop_trans": 1,
  "WithoutTax": 1,
  "country": 1,
  "city": 1,
  "area": 1,
  "act": 1,
  "national_id": "sample string 3",
  "tel": "sample string 4",
  "mobile": "sample string 5",
  "fax": "sample string 6",
  "email": "sample string 7",
  "notes": "sample string 8",
  "IS_Deleted": true,
  "maxdepit": 1.1,
  "type": 1,
  "tax_no": "sample string 9",
  "Cust_group_id": 1,
  "cust_DiscValue": 1,
  "cust_PresValue": 1,
  "address": "sample string 10",
  "car_number": "sample string 11",
  "car_shace": "sample string 12",
  "Cust_inv_type": 1,
  "acc_no": 1,
  "CustandSup": 1,
  "res_id": 1,
  "IValue": 1.1,
  "desc3": "sample string 13",
  "desc4": "sample string 14",
  "enable_sms": 1,
  "tax_no_build": "sample string 15",
  "tax_name_street": "sample string 16",
  "tax_name_district": "sample string 17",
  "tax_name_city": "sample string 18",
  "tax_name_country": "sample string 19",
  "tax_zip_code": "sample string 20",
  "tax_additional_address_no": "sample string 21",
  "tax_vat_registration_no": "sample string 22",
  "name_father": "sample string 23",
  "name_mather": "sample string 24",
  "status": 1,
  "cust_image": null,
  "Date_Birth": "2026-09-15T05:15:00.6362392+03:00",
  "salesmen": 1,
  "level_price": 1
}

application/xml, text/xml

Sample:
<CustomersController.Customers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Controllers.Customers">
  <Cust_group_id xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</Cust_group_id>
  <Cust_inv_type xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</Cust_inv_type>
  <CustandSup xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</CustandSup>
  <Date_Birth xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">2026-09-15T05:15:00.6362392+03:00</Date_Birth>
  <IS_Deleted xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">true</IS_Deleted>
  <IValue xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1.1</IValue>
  <WithoutTax xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</WithoutTax>
  <acc_no xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</acc_no>
  <act xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</act>
  <address xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">sample string 10</address>
  <area xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</area>
  <car_number xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">sample string 11</car_number>
  <car_shace xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">sample string 12</car_shace>
  <city xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</city>
  <country xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</country>
  <cust_DiscValue xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</cust_DiscValue>
  <cust_PresValue xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</cust_PresValue>
  <cust_image xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Data.Linq" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models" />
  <desc3 xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">sample string 13</desc3>
  <desc4 xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">sample string 14</desc4>
  <email xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">sample string 7</email>
  <enable_sms xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</enable_sms>
  <fax xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">sample string 6</fax>
  <id xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</id>
  <level_price xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</level_price>
  <maxdepit xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1.1</maxdepit>
  <mobile xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">sample string 5</mobile>
  <name xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">sample string 2</name>
  <name_father xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">sample string 23</name_father>
  <name_mather xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">sample string 24</name_mather>
  <national_id xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">sample string 3</national_id>
  <notes xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">sample string 8</notes>
  <res_id xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</res_id>
  <salesmen xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</salesmen>
  <status xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</status>
  <stop_trans xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</stop_trans>
  <tax_additional_address_no xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">sample string 21</tax_additional_address_no>
  <tax_name_city xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">sample string 18</tax_name_city>
  <tax_name_country xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">sample string 19</tax_name_country>
  <tax_name_district xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">sample string 17</tax_name_district>
  <tax_name_street xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">sample string 16</tax_name_street>
  <tax_no xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">sample string 9</tax_no>
  <tax_no_build xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">sample string 15</tax_no_build>
  <tax_vat_registration_no xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">sample string 22</tax_vat_registration_no>
  <tax_zip_code xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">sample string 20</tax_zip_code>
  <tel xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">sample string 4</tel>
  <type xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models">1</type>
  <branch>1</branch>
</CustomersController.Customers>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.