POST api/v2/pedido/vinculaanexopedido
Request Information
URI Parameters
None.
Body Parameters
VinculaAnexoPedidoRequestName | Description | Type | Additional information |
---|---|---|---|
PedidoIdTemp | globally unique identifier |
None. |
|
PedidoId | integer |
None. |
|
Anexos | Collection of string |
None. |
|
CanalId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "PedidoIdTemp": "fca04175-a984-4cf2-8db3-fed74174a9b6", "PedidoId": 2, "Anexos": [ "sample string 1", "sample string 2" ], "CanalId": 3 }
application/xml, text/xml
Sample:
<VinculaAnexoPedidoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v2.BindingModels"> <Anexos xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Anexos> <CanalId>3</CanalId> <PedidoId>2</PedidoId> <PedidoIdTemp>fca04175-a984-4cf2-8db3-fed74174a9b6</PedidoIdTemp> </VinculaAnexoPedidoRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VinculaAnexoPedidoResultName | Description | Type | Additional information |
---|---|---|---|
Succeeded | boolean |
None. |
|
Errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Succeeded": true, "Errors": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<VinculaAnexoPedidoResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v2.Result"> <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Errors> <Succeeded xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models">true</Succeeded> </VinculaAnexoPedidoResult>