GET api/CollectionPolicy/{GrantorTaxId}
Obtener politica de cobranza de la empresa
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| GrantorTaxId |
RFC de la empresa |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseModelApiOfGrantorSettingsModelApi| 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 |
GrantorSettingsModelApi |
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",
"IsAfiliatedCC": true,
"DaysUncollectibleDebt": 1,
"IsCreditRateEnabled": true,
"IsCreditRateAutomatic": true,
"DefaultNotificationSchemaId": "08de22c4-584c-4a6c-ba1f-9f35ac4f129f",
"NotificationSchemaList": [
{
"NotificationSchemaId": "08de22c4-584c-4a6c-ba1f-9f35ac4f12a0",
"NotificationSchemaName": "sample string 2"
},
{
"NotificationSchemaId": "08de22c4-584c-4a6c-ba1f-9f35ac4f12a0",
"NotificationSchemaName": "sample string 2"
}
],
"NotificationTypeId": 1,
"CollectionReminderTime": "sample string 3",
"ShowDocumentDetail": true,
"ArMailName": "sample string 4",
"Email": "sample string 5",
"FlagPaymentNotification": true,
"MinimumInterest": 6.1,
"MaximunInterest": 7.1,
"MaximumTermDays": 8,
"AssignSeller": true,
"AssignBranch": true,
"UserId": "08de22c4-584c-4a6c-ba1f-9f35ac4f12a1",
"FlagAttachment": true,
"ShowLinkDocumentAttachment": true
}
}
application/xml, text/xml
Sample:
<ResponseModelApiOfGrantorSettingsModelApi 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>
<IsAfiliatedCC>true</IsAfiliatedCC>
<DaysUncollectibleDebt>1</DaysUncollectibleDebt>
<IsCreditRateEnabled>true</IsCreditRateEnabled>
<IsCreditRateAutomatic>true</IsCreditRateAutomatic>
<DefaultNotificationSchemaId>08de22c4-584c-4a6c-ba1f-9f35ac4f129f</DefaultNotificationSchemaId>
<NotificationSchemaList>
<NotificationSchemaModelApi>
<NotificationSchemaId>08de22c4-584c-4a6c-ba1f-9f35ac4f12a0</NotificationSchemaId>
<NotificationSchemaName>sample string 2</NotificationSchemaName>
</NotificationSchemaModelApi>
<NotificationSchemaModelApi>
<NotificationSchemaId>08de22c4-584c-4a6c-ba1f-9f35ac4f12a0</NotificationSchemaId>
<NotificationSchemaName>sample string 2</NotificationSchemaName>
</NotificationSchemaModelApi>
</NotificationSchemaList>
<NotificationTypeId>1</NotificationTypeId>
<CollectionReminderTime>sample string 3</CollectionReminderTime>
<ShowDocumentDetail>true</ShowDocumentDetail>
<ArMailName>sample string 4</ArMailName>
<Email>sample string 5</Email>
<FlagPaymentNotification>true</FlagPaymentNotification>
<MinimumInterest>6.1</MinimumInterest>
<MaximunInterest>7.1</MaximunInterest>
<MaximumTermDays>8</MaximumTermDays>
<AssignSeller>true</AssignSeller>
<AssignBranch>true</AssignBranch>
<UserId>08de22c4-584c-4a6c-ba1f-9f35ac4f12a1</UserId>
<FlagAttachment>true</FlagAttachment>
<ShowLinkDocumentAttachment>true</ShowLinkDocumentAttachment>
</data>
</ResponseModelApiOfGrantorSettingsModelApi>