POST api/Pedido
Request Information
URI Parameters
None.
Body Parameters
Pedido| Name | Description | Type | Additional information |
|---|---|---|---|
| TIPO | integer |
None. |
|
| ID | integer |
None. |
|
| CLIENTE_ID | integer |
None. |
|
| CPF | string |
None. |
|
| NUMERO_CARTAO | string |
None. |
|
| PARCELAS | string |
None. |
|
| VALIDADE | string |
None. |
|
| CVV | string |
None. |
|
| NOME_COMPLETO | string |
None. |
|
| DATA_NASC | string |
None. |
|
| BANDEIRA | string |
None. |
|
| PARCELA | integer |
None. |
|
| Analise | boolean |
None. |
|
| TituloNotificacao | string |
None. |
|
| Message | string |
None. |
|
| Erro | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"TIPO": 1,
"ID": 2,
"CLIENTE_ID": 3,
"CPF": "sample string 4",
"NUMERO_CARTAO": "sample string 5",
"PARCELAS": "sample string 6",
"VALIDADE": "sample string 7",
"CVV": "sample string 8",
"NOME_COMPLETO": "sample string 9",
"DATA_NASC": "sample string 10",
"BANDEIRA": "sample string 11",
"PARCELA": 12,
"Analise": true,
"TituloNotificacao": "sample string 14",
"Message": "sample string 15",
"Erro": true
}
application/xml, text/xml
Sample:
<Pedido xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yourcode.Api.Models.DTO"> <Analise>true</Analise> <BANDEIRA>sample string 11</BANDEIRA> <CLIENTE_ID>3</CLIENTE_ID> <CPF>sample string 4</CPF> <CVV>sample string 8</CVV> <DATA_NASC>sample string 10</DATA_NASC> <Erro>true</Erro> <ID>2</ID> <Message>sample string 15</Message> <NOME_COMPLETO>sample string 9</NOME_COMPLETO> <NUMERO_CARTAO>sample string 5</NUMERO_CARTAO> <PARCELA>12</PARCELA> <PARCELAS>sample string 6</PARCELAS> <TIPO>1</TIPO> <TituloNotificacao>sample string 14</TituloNotificacao> <VALIDADE>sample string 7</VALIDADE> </Pedido>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |