DELETE api/Customer/Collaboration
Request Information
URI Parameters
None.
Body Parameters
DeleteCustomerCollaborativeModelApi| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerTaxId |
RFC del cliente |
string |
Required Matching regular expression pattern: ^[A-Z&Ñ]{3,4}[0-9]{2}(0[1-9]|1[012])(0[1-9]|[12][0-9]|3[01])[A-Z0-9]{2}[0-9A]$ Max length: 13 Min length: 12 |
| GrantorTaxId |
Listado de rfc de grantor, si no se indica ninguno, se elimina la colaboracion de todos |
Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerTaxId": "sample string 1",
"GrantorTaxId": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<DeleteCustomerCollaborativeModelApi xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CustomerTaxId>sample string 1</CustomerTaxId>
<GrantorTaxId>
<string>sample string 1</string>
<string>sample string 2</string>
</GrantorTaxId>
</DeleteCustomerCollaborativeModelApi>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseModelApiOfDeleteCustomerCollaborativeModelApi| 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 |
DeleteCustomerCollaborativeModelApi |
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": {
"CustomerTaxId": "sample string 1",
"GrantorTaxId": [
"sample string 1",
"sample string 2"
]
}
}
application/xml, text/xml
Sample:
<ResponseModelApiOfDeleteCustomerCollaborativeModelApi 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>
<CustomerTaxId>sample string 1</CustomerTaxId>
<GrantorTaxId>
<string>sample string 1</string>
<string>sample string 2</string>
</GrantorTaxId>
</data>
</ResponseModelApiOfDeleteCustomerCollaborativeModelApi>