POST Suppliapi/account/PostAccount

Request Information

URI Parameters

None.

Body Parameters

clienteModel
NameDescriptionTypeAdditional information
companyName

string

None.

companyName2

string

None.

accountNumber

string

None.

refNumber

string

None.

primaryContactId

integer

None.

notes

string

None.

tenantId

integer

None.

createdById

integer

None.

insertDateTime

date

None.

creditLine

decimal number

None.

creditoDisponible

decimal number

None.

name

string

None.

email

string

None.

emailAlt

string

None.

contactGenderId

integer

None.

lastName

string

None.

webSite

string

None.

active

boolean

None.

datebirthday

date

None.

number

string

None.

number2

string

None.

addressLine

string

None.

longitude

decimal number

None.

latitude

decimal number

None.

accountId

integer

None.

sincronizado

boolean

None.

amountLastOrder

decimal number

None.

signature

string

None.

Firm

Collection of byte

None.

accountRepId

integer

None.

accountRep

string

None.

contactId

integer

None.

accountRepName

string

None.

userLoginId

integer

None.

userName

string

None.

addressLine2

string

None.

addressLine3

string

None.

city

integer

None.

state

integer

None.

countryCode

string

None.

country

integer

None.

postalCode

string

None.

balance

decimal number

None.

updatedById

integer

None.

modifyDateTime

date

None.

contactDeptId

integer

None.

contactTitleId

integer

None.

preferredGenLanguageId

integer

None.

preferredShipAddressId

integer

None.

preferredBillAddressId

integer

None.

preferredPhoneId

integer

None.

preferredpricelistId

integer

None.

montoMinimoEnOrden

decimal number

None.

external_accountId

string

None.

refNumberId

integer

None.

contactPhoneTypeId

integer

None.

contactPhoneId

integer

None.

contactAddressId

integer

None.

contactAddressTypeId

integer

None.

accountCategoryId

integer

None.

marked

integer

None.

visited

boolean

None.

accountSalesManagerId

integer

None.

image

string

None.

inShoppingCar

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "companyName": "sample string 1",
  "companyName2": "sample string 2",
  "accountNumber": "sample string 3",
  "refNumber": "sample string 4",
  "primaryContactId": 5,
  "notes": "sample string 6",
  "tenantId": 7,
  "createdById": 8,
  "insertDateTime": "2021-04-14T17:29:04.2596222-06:00",
  "creditLine": 10.0,
  "creditoDisponible": 11.0,
  "name": "sample string 12",
  "email": "sample string 13",
  "emailAlt": "sample string 14",
  "contactGenderId": 15,
  "lastName": "sample string 16",
  "webSite": "sample string 17",
  "active": true,
  "datebirthday": "2021-04-14T17:29:04.2606214-06:00",
  "number": "sample string 19",
  "number2": "sample string 20",
  "addressLine": "sample string 21",
  "longitude": 1.1,
  "latitude": 1.1,
  "accountId": 22,
  "sincronizado": true,
  "amountLastOrder": 24.0,
  "signature": "sample string 25",
  "Firm": "QEA=",
  "accountRepId": 26,
  "accountRep": "sample string 27",
  "contactId": 28,
  "accountRepName": "sample string 29",
  "userLoginId": 1,
  "userName": "sample string 30",
  "addressLine2": "sample string 31",
  "addressLine3": "sample string 32",
  "city": 1,
  "state": 1,
  "countryCode": "sample string 33",
  "country": 34,
  "postalCode": "sample string 35",
  "balance": 1.0,
  "updatedById": 1,
  "modifyDateTime": "2021-04-14T17:29:04.2636232-06:00",
  "contactDeptId": 1,
  "contactTitleId": 1,
  "preferredGenLanguageId": 1,
  "preferredShipAddressId": 1,
  "preferredBillAddressId": 1,
  "preferredPhoneId": 1,
  "preferredpricelistId": 1,
  "montoMinimoEnOrden": 1.0,
  "external_accountId": "sample string 36",
  "refNumberId": 1,
  "contactPhoneTypeId": 37,
  "contactPhoneId": 38,
  "contactAddressId": 39,
  "contactAddressTypeId": 40,
  "accountCategoryId": 1,
  "marked": 41,
  "visited": true,
  "accountSalesManagerId": 1,
  "image": "sample string 43",
  "inShoppingCar": true
}

application/xml, text/xml

Sample:
<clienteModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SuppliAppi.Areas.Customer.Models">
  <Firm>QEA=</Firm>
  <accountCategoryId>1</accountCategoryId>
  <accountId>22</accountId>
  <accountNumber>sample string 3</accountNumber>
  <accountRep>sample string 27</accountRep>
  <accountRepId>26</accountRepId>
  <accountRepName>sample string 29</accountRepName>
  <accountSalesManagerId>1</accountSalesManagerId>
  <active>true</active>
  <addressLine>sample string 21</addressLine>
  <addressLine2>sample string 31</addressLine2>
  <addressLine3>sample string 32</addressLine3>
  <amountLastOrder>24</amountLastOrder>
  <balance>1</balance>
  <city>1</city>
  <companyName>sample string 1</companyName>
  <companyName2>sample string 2</companyName2>
  <contactAddressId>39</contactAddressId>
  <contactAddressTypeId>40</contactAddressTypeId>
  <contactDeptId>1</contactDeptId>
  <contactGenderId>15</contactGenderId>
  <contactId>28</contactId>
  <contactPhoneId>38</contactPhoneId>
  <contactPhoneTypeId>37</contactPhoneTypeId>
  <contactTitleId>1</contactTitleId>
  <country>34</country>
  <countryCode>sample string 33</countryCode>
  <createdById>8</createdById>
  <creditLine>10</creditLine>
  <creditoDisponible>11</creditoDisponible>
  <datebirthday>2021-04-14T17:29:04.2606214-06:00</datebirthday>
  <email>sample string 13</email>
  <emailAlt>sample string 14</emailAlt>
  <external_accountId>sample string 36</external_accountId>
  <image>sample string 43</image>
  <inShoppingCar>true</inShoppingCar>
  <insertDateTime>2021-04-14T17:29:04.2596222-06:00</insertDateTime>
  <lastName>sample string 16</lastName>
  <latitude>1.1</latitude>
  <longitude>1.1</longitude>
  <marked>41</marked>
  <modifyDateTime>2021-04-14T17:29:04.2636232-06:00</modifyDateTime>
  <montoMinimoEnOrden>1</montoMinimoEnOrden>
  <name>sample string 12</name>
  <notes>sample string 6</notes>
  <number>sample string 19</number>
  <number2>sample string 20</number2>
  <postalCode>sample string 35</postalCode>
  <preferredBillAddressId>1</preferredBillAddressId>
  <preferredGenLanguageId>1</preferredGenLanguageId>
  <preferredPhoneId>1</preferredPhoneId>
  <preferredShipAddressId>1</preferredShipAddressId>
  <preferredpricelistId>1</preferredpricelistId>
  <primaryContactId>5</primaryContactId>
  <refNumber>sample string 4</refNumber>
  <refNumberId>1</refNumberId>
  <signature>sample string 25</signature>
  <sincronizado>true</sincronizado>
  <state>1</state>
  <tenantId>7</tenantId>
  <updatedById>1</updatedById>
  <userLoginId>1</userLoginId>
  <userName>sample string 30</userName>
  <visited>true</visited>
  <webSite>sample string 17</webSite>
</clienteModel>

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.