POST Contributors
Agrega un nuevo contribuyente para el emisor actual
Request Information
URI Parameters
None.
Body Parameters
ContributorRequestModelName | Description | Type | Additional information |
---|---|---|---|
Identification |
Identificacion |
string |
Required Max length: 50 |
IdentificationTypeId |
Id del Tipo de Identificacion |
integer |
Required |
BussinesName |
Razon Social |
string |
Max length: 300 |
TradeName |
Nombre Comercial |
string |
Max length: 300 |
Address |
Direccion |
string |
Max length: 300 |
Phone |
Telefono |
string |
Max length: 300 |
EmailAddresses |
Correos Electronicos de Contacto |
string |
Max length: 1500 |
ContributorTypeId |
Id del Tipo de Contribuyente |
integer |
Required |
IssuerId |
Id del Emisor |
integer |
Required |
IsSupplier |
Si el contribuyente Es Proveedor |
boolean |
None. |
IsCustomer |
Si el contribuyente Es Cliente |
boolean |
None. |
IsDriver |
Si el contribuyente Es Transportista |
boolean |
None. |
IsEnabled |
Si esta Activo |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Identification": "sample string 1", "IdentificationTypeId": 2, "BussinesName": "sample string 3", "TradeName": "sample string 4", "Address": "sample string 5", "Phone": "sample string 6", "EmailAddresses": "sample string 7", "ContributorTypeId": 8, "IssuerId": 9, "IsSupplier": true, "IsCustomer": true, "IsDriver": true, "IsEnabled": true }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Return a HttpResponseMessage response
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |