POST v1/{token}/comprador
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
Required |
Body Parameters
CompradorDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Nome | string |
None. |
|
| Documento | string |
None. |
|
| Endereco | EnderecoDTO |
None. |
|
| Telefone | string |
None. |
|
| string |
None. |
||
| Situacao | integer |
None. |
|
| Chave | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Nome": "sample string 1",
"Documento": "sample string 2",
"Endereco": null,
"Telefone": "sample string 3",
"Email": "sample string 4",
"Situacao": 1,
"Chave": "sample string 5"
}
application/xml, text/xml
Sample:
<CompradorDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DoctusPay.DTO"> <Chave>sample string 5</Chave> <Documento>sample string 2</Documento> <Email>sample string 4</Email> <Endereco i:nil="true" /> <Id>1</Id> <Nome>sample string 1</Nome> <Situacao>1</Situacao> <Telefone>sample string 3</Telefone> </CompradorDTO>
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. |