POST api/Supplier/Post

Crea en la base el proveedor recibido.

Request Information

URI Parameters

None.

Body Parameters

ViewModel del proveedor a crear

SupplierViewModel
NameDescriptionTypeAdditional information
Number

integer

None.

MainAddress

AddressViewModel

Required

Id

string

None.

Active

boolean

None.

CellphoneNumber

string

None.

ContactIds

Collection of string

None.

SecondaryAddresses

Collection of AddressViewModel

None.

IsWMSIntegrated

boolean

None.

WarehouseClientId

string

None.

BusinessName

string

Required

Matching regular expression pattern: ^[a-zA-ZáéíóúñÁÉÍÓÚÑ0-9 .]+$

FantasyName

string

None.

PhoneNumber

string

None.

DocumentNumber

string

Matching regular expression pattern: ^\d*$

DocumentTypeId

string

None.

MainAddress

BaseAddressViewModel

None.

DeliveryAddress

BaseAddressViewModel

None.

Email

string

None.

IsDownPaymentRequired

boolean

None.

DownPaymentPercentage

decimal number

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

De ser exitosa la creación retorna 200. De lo contrario retorna 400

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.