POST api/OnBoarding/SignMethod
Cambiar método de firma de contratos
Request Information
URI Parameters
None.
Body Parameters
Datos
SignMethodModelApiName | Description | Type | Additional information |
---|---|---|---|
GrantorTaxId |
RFC |
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 |
SignMethodId |
Tipo de comprobante |
SignMethod |
None. |
Request Formats
application/json, text/json
Sample:
{ "GrantorTaxId": "sample string 1", "SignMethodId": 1 }
application/xml, text/xml
Sample:
<SignMethodModelApi xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <GrantorTaxId>sample string 1</GrantorTaxId> <SignMethodId>Aceptacion</SignMethodId> </SignMethodModelApi>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Layout de respuesta, información del procesamiento de la solicitud y un JSON dinámico con el resultado de la solicitud
ResponseModelApiOfBooleanName | 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 |
boolean |
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": true }
application/xml, text/xml
Sample:
<ResponseModelApiOfBoolean 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>true</data> </ResponseModelApiOfBoolean>