GET api/Grantor/ExternalPaymentAffiliation/{GrantorTaxId}
Contratos para la afiliación de medios de pago.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
GrantorTaxId |
RFC de la empresa |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseModelApiOfListOfSimpleLegalContractApiModelName | 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 SimpleLegalContractApiModel |
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": [ { "ContractId": "08dd2e4f-dc1a-0cc2-ba1f-9f30f40dbb25", "Text": "sample string 2", "Name": "sample string 3", "BankAccountId": "08dd2e4f-dc1a-0cc2-ba1f-9f30f40dbb26", "LegalContractId": 4 }, { "ContractId": "08dd2e4f-dc1a-0cc2-ba1f-9f30f40dbb25", "Text": "sample string 2", "Name": "sample string 3", "BankAccountId": "08dd2e4f-dc1a-0cc2-ba1f-9f30f40dbb26", "LegalContractId": 4 } ] }
application/xml, text/xml
Sample:
<ResponseModelApiOfListOfSimpleLegalContractApiModel 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> <SimpleLegalContractApiModel> <ContractId>08dd2e4f-dc1a-0cc2-ba1f-9f30f40dbb25</ContractId> <Text>sample string 2</Text> <Name>sample string 3</Name> <BankAccountId>08dd2e4f-dc1a-0cc2-ba1f-9f30f40dbb26</BankAccountId> <LegalContractId>4</LegalContractId> </SimpleLegalContractApiModel> <SimpleLegalContractApiModel> <ContractId>08dd2e4f-dc1a-0cc2-ba1f-9f30f40dbb25</ContractId> <Text>sample string 2</Text> <Name>sample string 3</Name> <BankAccountId>08dd2e4f-dc1a-0cc2-ba1f-9f30f40dbb26</BankAccountId> <LegalContractId>4</LegalContractId> </SimpleLegalContractApiModel> </data> </ResponseModelApiOfListOfSimpleLegalContractApiModel>