POST api/meuprojeto/InserirPedidoOGT?token={token}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
Required |
Body Parameters
Pedido| Name | Description | Type | Additional information |
|---|---|---|---|
| idPedido | integer |
None. |
|
| nrSolicitacao | integer |
None. |
|
| pedidoItens | Collection of Object |
None. |
Request Formats
application/json, text/json
Sample:
{
"idPedido": 1,
"nrSolicitacao": 2,
"pedidoItens": null
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Root| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| data | Data |
None. |
|
| errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"data": {
"accessToken": "sample string 1",
"expiresIn": 2,
"userToken": {
"codUsuario": 1,
"cpf": "sample string 2",
"codPessoaJuridica": 3
}
},
"errors": [
"sample string 1",
"sample string 2"
]
}