POST CreateOrEditAcquirerWithPci
Permite crear o editar un adquirente.
Request Information
URI Parameters
None.
Body Parameters
Adquirente a crear o editar
AcquirerWithPciName | Description | Type | Additional information |
---|---|---|---|
pci |
Código de tipo de identificación del adquirente |
string |
Required |
fiscalResponsabilities |
Responsabilidades fiscales del adquirente |
Collection of TaxResponsibility |
Optional |
documentTypeCode |
Código de tipo de identificación del adquirente |
string |
Required String length: inclusive between 0 and 10 |
documentNumber |
Numero de identificación del adquirente |
string |
Required String length: inclusive between 0 and 256 |
verificationDigit |
Dígito de verificación del adquirente (Sólo NIT) No se tiene en cuenta a la hora de crear un adquirente Se calcula |
string |
String length: inclusive between 0 and 2 |
name |
Nombre del adquirente |
string |
Required String length: inclusive between 0 and 256 |
address |
Dirección del adquirente |
string |
String length: inclusive between 0 and 256 |
telephone |
Teléfono del adquirente |
string |
Optional |
technologicalProviderNIT |
Nit del proveedor tecnologico del adquirente |
string |
Optional |
juridicalOrganizationCode |
Código que indica el tipo de persona |
string |
Required String length: inclusive between 0 and 10 |
regimenTypeCode |
Código tipo de régimen |
string |
String length: inclusive between 0 and 10 |
tributaryDetail |
Código del detalle tributario. |
string |
Optional |
fiscalResponsabilities |
Responsabilidades fiscales del adquirente |
Collection of string |
Optional |
contacts |
Contactos del adquiriente |
Collection of Contact |
Required |
merchantRegisters |
Registros mercantiles del adquirente, esto es opcional sin embargo genera notificación por parte de la DIAN |
Collection of MerchantRegister |
Optional |
fiscalLocation |
Localización fiscal |
Location |
Optional |
physicalLocation |
Localizaciones fisicas |
Collection of Location |
Optional |
active |
Estado del adquirente en el sistema ( Activo o desactivado ), puede no ser tomado en cuenta por ciertos métodos. |
boolean |
Required |
Request Formats
application/json, text/json
{ "pci": "sample string 1", "fiscalResponsabilities": [ { "code": "sample string 1", "name": "sample string 2" }, { "code": "sample string 1", "name": "sample string 2" } ], "documentTypeCode": "sample string 2", "documentNumber": "sample string 3", "verificationDigit": "sample string 4", "name": "sample string 5", "address": "sample string 6", "telephone": "sample string 7", "technologicalProviderNIT": "sample string 8", "juridicalOrganizationCode": "sample string 9", "regimenTypeCode": "sample string 10", "tributaryDetail": "sample string 11", "contacts": [ { "documentTypeCode": "sample string 1", "documentNumber": "sample string 2", "email": "sample string 3", "fullName": "sample string 4", "address": "sample string 5", "phoneNumber": "sample string 6", "cellphoneNumber": "sample string 7", "sendInvoice": true, "contract": "sample string 9", "position": "sample string 10", "active": true }, { "documentTypeCode": "sample string 1", "documentNumber": "sample string 2", "email": "sample string 3", "fullName": "sample string 4", "address": "sample string 5", "phoneNumber": "sample string 6", "cellphoneNumber": "sample string 7", "sendInvoice": true, "contract": "sample string 9", "position": "sample string 10", "active": true } ], "merchantRegisters": [ { "value": "sample string 1", "cityCode": "sample string 2", "departmentCode": "sample string 3", "active": true }, { "value": "sample string 1", "cityCode": "sample string 2", "departmentCode": "sample string 3", "active": true } ], "fiscalLocation": { "countryCode": "sample string 1", "state": "sample string 2", "city": "sample string 3", "postalZone": "sample string 4", "address": "sample string 5" }, "physicalLocation": [ { "countryCode": "sample string 1", "state": "sample string 2", "city": "sample string 3", "postalZone": "sample string 4", "address": "sample string 5" }, { "countryCode": "sample string 1", "state": "sample string 2", "city": "sample string 3", "postalZone": "sample string 4", "address": "sample string 5" } ], "active": true }
application/xml
Sample not available.
text/xml
Sample not available.
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
200
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.