GET api/Customer/{GrantorTaxId}/{CustomerTaxId}/Contacts
Obtener contatos del cliente
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| GrantorTaxId |
RFC de la empresa |
string |
Required |
| CustomerTaxId |
RFC del cliente |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseModelApiOfListOfCustomerContactInfoesModelApi| Name | Description | Type | Additional information |
|---|---|---|---|
| success |
Indica si la solicitud se procesó de manera satisfactoria |
boolean |
None. |
| message |
Mensaje de la solicitud |
string |
None. |
| messageDetail |
Lista de mensajes |
Collection of string |
None. |
| failureCode |
Código de error en caso de existir |
string |
None. |
| data |
Layout de respuesta de la solicitud |
Collection of CustomerContactInfoesModelApi |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"message": "sample string 2",
"messageDetail": [
"sample string 1",
"sample string 2"
],
"failureCode": "sample string 3",
"data": [
{
"CustomerId": 1,
"CustomerTaxId": "sample string 2",
"Contacto": "sample string 3",
"Email": "sample string 4",
"Email_IsValid": true,
"Phone": "sample string 5",
"Phone_IsValid": true,
"Cellphone": "sample string 6",
"Cellphone_IsValid": true
},
{
"CustomerId": 1,
"CustomerTaxId": "sample string 2",
"Contacto": "sample string 3",
"Email": "sample string 4",
"Email_IsValid": true,
"Phone": "sample string 5",
"Phone_IsValid": true,
"Cellphone": "sample string 6",
"Cellphone_IsValid": true
}
]
}
application/xml, text/xml
Sample:
<ResponseModelApiOfListOfCustomerContactInfoesModelApi xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<success>true</success>
<message>sample string 2</message>
<messageDetail>
<string>sample string 1</string>
<string>sample string 2</string>
</messageDetail>
<failureCode>sample string 3</failureCode>
<data>
<CustomerContactInfoesModelApi>
<CustomerId>1</CustomerId>
<CustomerTaxId>sample string 2</CustomerTaxId>
<Contacto>sample string 3</Contacto>
<Email>sample string 4</Email>
<Email_IsValid>true</Email_IsValid>
<Phone>sample string 5</Phone>
<Phone_IsValid>true</Phone_IsValid>
<Cellphone>sample string 6</Cellphone>
<Cellphone_IsValid>true</Cellphone_IsValid>
</CustomerContactInfoesModelApi>
<CustomerContactInfoesModelApi>
<CustomerId>1</CustomerId>
<CustomerTaxId>sample string 2</CustomerTaxId>
<Contacto>sample string 3</Contacto>
<Email>sample string 4</Email>
<Email_IsValid>true</Email_IsValid>
<Phone>sample string 5</Phone>
<Phone_IsValid>true</Phone_IsValid>
<Cellphone>sample string 6</Cellphone>
<Cellphone_IsValid>true</Cellphone_IsValid>
</CustomerContactInfoesModelApi>
</data>
</ResponseModelApiOfListOfCustomerContactInfoesModelApi>