POST api/Document/CancelManual
Cancelar solamente por el pac
Request Information
URI Parameters
None.
Body Parameters
Modelo
PostCancelSupportName | Description | Type | Additional information |
---|---|---|---|
Pass | string |
None. |
|
DcoumentsDelete | Collection of DocumentToDelete |
None. |
Request Formats
application/json, text/json
Sample:
{ "Pass": "sample string 1", "DcoumentsDelete": [ { "rfc": "sample string 1", "uuid": "08dd2e4b-26e7-fc1f-522b-6e3108c3f96c", "serial": "sample string 3", "folio": "sample string 4", "DocumentType": 5, "OnlyPac": true, "cancelpayment": true, "Response": "sample string 8" }, { "rfc": "sample string 1", "uuid": "08dd2e4b-26e7-fc1f-522b-6e3108c3f96c", "serial": "sample string 3", "folio": "sample string 4", "DocumentType": 5, "OnlyPac": true, "cancelpayment": true, "Response": "sample string 8" } ] }
application/xml, text/xml
Sample:
<PostCancelSupport xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Pass>sample string 1</Pass> <DcoumentsDelete> <DocumentToDelete> <rfc>sample string 1</rfc> <uuid>08dd2e4b-26e7-fc1f-522b-6e3108c3f96c</uuid> <serial>sample string 3</serial> <folio>sample string 4</folio> <DocumentType>5</DocumentType> <OnlyPac>true</OnlyPac> <cancelpayment>true</cancelpayment> <Response>sample string 8</Response> </DocumentToDelete> <DocumentToDelete> <rfc>sample string 1</rfc> <uuid>08dd2e4b-26e7-fc1f-522b-6e3108c3f96c</uuid> <serial>sample string 3</serial> <folio>sample string 4</folio> <DocumentType>5</DocumentType> <OnlyPac>true</OnlyPac> <cancelpayment>true</cancelpayment> <Response>sample string 8</Response> </DocumentToDelete> </DcoumentsDelete> </PostCancelSupport>
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>