GET api/v1/salesset/opcaopagamento
Retorna todas as opções disponíveis de pagamento no Sales Set.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
OpcaoDePagamentoResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Opcoes | Collection of OpcaoDePagamentoItemResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"opcoes": [
{
"opcaoDePagamentoId": "sample string 1",
"nome": "sample string 2",
"itens": [
{
"formaDePagamentoId": "sample string 1",
"nome": "sample string 2"
},
{
"formaDePagamentoId": "sample string 1",
"nome": "sample string 2"
}
]
},
{
"opcaoDePagamentoId": "sample string 1",
"nome": "sample string 2",
"itens": [
{
"formaDePagamentoId": "sample string 1",
"nome": "sample string 2"
},
{
"formaDePagamentoId": "sample string 1",
"nome": "sample string 2"
}
]
}
]
}
application/xml, text/xml
Sample:
<OpcaoDePagamentoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/B2B.Integration.GenericIntegration.Contracts.PrazoDePagamento.SalesSet">
<Opcoes>
<OpcaoDePagamentoItemResponse>
<Itens>
<FormaDePagamentoItemResponse>
<FormaDePagamentoId>sample string 1</FormaDePagamentoId>
<Nome>sample string 2</Nome>
</FormaDePagamentoItemResponse>
<FormaDePagamentoItemResponse>
<FormaDePagamentoId>sample string 1</FormaDePagamentoId>
<Nome>sample string 2</Nome>
</FormaDePagamentoItemResponse>
</Itens>
<Nome>sample string 2</Nome>
<OpcaoDePagamentoId>sample string 1</OpcaoDePagamentoId>
</OpcaoDePagamentoItemResponse>
<OpcaoDePagamentoItemResponse>
<Itens>
<FormaDePagamentoItemResponse>
<FormaDePagamentoId>sample string 1</FormaDePagamentoId>
<Nome>sample string 2</Nome>
</FormaDePagamentoItemResponse>
<FormaDePagamentoItemResponse>
<FormaDePagamentoId>sample string 1</FormaDePagamentoId>
<Nome>sample string 2</Nome>
</FormaDePagamentoItemResponse>
</Itens>
<Nome>sample string 2</Nome>
<OpcaoDePagamentoId>sample string 1</OpcaoDePagamentoId>
</OpcaoDePagamentoItemResponse>
</Opcoes>
</OpcaoDePagamentoResponse>