GET api/CollectionPolicy/{GrantorTaxId}/{CustomerTaxId}
Obtener politica de cobranza 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
ResponseModelApiOfCollectionPolicy_CustomerModelApiName | 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 |
CollectionPolicy_CustomerModelApi |
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": { "GrantorTaxId": "sample string 1", "CustomerTaxId": "sample string 2", "UseGeneralPolicy": true, "IsCreditRateAutomatic": true, "DefaultNotificationSchemaId": "08dd2e49-943e-7e12-ba1f-9f1e94b2bdf3", "NotificationTypeId": 1, "ShowDocumentDetail": true, "FlagAttachment": true } }
application/xml, text/xml
Sample:
<ResponseModelApiOfCollectionPolicy_CustomerModelApi 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> <GrantorTaxId>sample string 1</GrantorTaxId> <CustomerTaxId>sample string 2</CustomerTaxId> <UseGeneralPolicy>true</UseGeneralPolicy> <IsCreditRateAutomatic>true</IsCreditRateAutomatic> <DefaultNotificationSchemaId>08dd2e49-943e-7e12-ba1f-9f1e94b2bdf3</DefaultNotificationSchemaId> <NotificationTypeId>1</NotificationTypeId> <ShowDocumentDetail>true</ShowDocumentDetail> <FlagAttachment>true</FlagAttachment> </data> </ResponseModelApiOfCollectionPolicy_CustomerModelApi>