POST CreateContact
Crear contacto
Request Information
URI Parameters
None.
Body Parameters
identificador del adquirente para el cual se crea el contacto e información del contacto
CContactName | Description | Type | Additional information |
---|---|---|---|
documentTypeCodeAcq |
Código de tipo de identificación del adquiriente. |
string |
Required |
documentNumberAcq |
Numero de identificación del adquiriente. |
string |
Required |
contact |
contacto a crear. |
Contact |
Required |
Request Formats
application/json, text/json
Sample:
{ "documentTypeCodeAcq": "sample string 1", "documentNumberAcq": "sample string 2", "contact": { "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 } }
application/xml, text/xml
Sample:
<CContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIRestUBL21.Models"> <contact> <active>true</active> <address>sample string 5</address> <cellphoneNumber>sample string 7</cellphoneNumber> <contract>sample string 9</contract> <documentNumber>sample string 2</documentNumber> <documentTypeCode>sample string 1</documentTypeCode> <email>sample string 3</email> <fullName>sample string 4</fullName> <phoneNumber>sample string 6</phoneNumber> <position>sample string 10</position> <sendInvoice>true</sendInvoice> </contact> <documentNumberAcq>sample string 2</documentNumberAcq> <documentTypeCodeAcq>sample string 1</documentTypeCodeAcq> </CContact>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.