POST api/Financials/v1/Quote/Dummy
Genera una cotización fake basada en un documento CFDI
Request Information
URI Parameters
None.
Body Parameters
Estructura de información a cotizar
quoteRequestListDummyName | Description | Type | Additional information |
---|---|---|---|
amount | decimal number |
None. |
|
days | integer |
None. |
|
currency | string |
None. |
|
isAdvancedPayment | boolean |
None. |
|
paymentDate | string |
None. |
|
creditTypeId | integer |
None. |
|
aditionalInfo | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "amount": 1.0, "days": 2, "currency": "sample string 3", "isAdvancedPayment": true, "paymentDate": "sample string 5", "creditTypeId": 6, "aditionalInfo": "sample string 7" }
application/xml, text/xml
Sample:
<quoteRequestListDummy xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <amount>1</amount> <days>2</days> <currency>sample string 3</currency> <isAdvancedPayment>true</isAdvancedPayment> <paymentDate>sample string 5</paymentDate> <creditTypeId>6</creditTypeId> <aditionalInfo>sample string 7</aditionalInfo> </quoteRequestListDummy>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseModelApiOfObjectName | 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 |
Object |
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": {} }
application/xml, text/xml
Sample:
<ResponseModelApiOfObject 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 /> </ResponseModelApiOfObject>