GET api/Customers
Request Information
URI Parameters
None.
Body Parameters
CustomerBit| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| NContrib | string |
String length: inclusive between 0 and 25 |
|
| Empresa | string |
String length: inclusive between 0 and 150 |
|
| Nome | string |
String length: inclusive between 0 and 150 |
|
| Morada1 | string |
String length: inclusive between 0 and 100 |
|
| Morada2 | string |
String length: inclusive between 0 and 100 |
|
| CodPostal | string |
String length: inclusive between 0 and 15 |
|
| Local | string |
String length: inclusive between 0 and 75 |
|
| Distrito | string |
String length: inclusive between 0 and 75 |
|
| Funcao | string |
String length: inclusive between 0 and 75 |
|
| Telefone | string |
String length: inclusive between 0 and 30 |
|
| string |
String length: inclusive between 0 and 150 |
||
| TitularConta | string |
String length: inclusive between 0 and 150 |
|
| iban | string |
String length: inclusive between 0 and 30 |
|
| password | string |
String length: inclusive between 0 and 100 |
|
| PoliticaPrivacidade | boolean |
None. |
|
| RecebeInfo | boolean |
None. |
|
| RecebeInfo2 | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"NContrib": "sample string 2",
"Empresa": "sample string 3",
"Nome": "sample string 4",
"Morada1": "sample string 5",
"Morada2": "sample string 6",
"CodPostal": "sample string 7",
"Local": "sample string 8",
"Distrito": "sample string 9",
"Funcao": "sample string 10",
"Telefone": "sample string 11",
"Email": "sample string 12",
"TitularConta": "sample string 13",
"iban": "sample string 14",
"password": "sample string 15",
"PoliticaPrivacidade": true,
"RecebeInfo": true,
"RecebeInfo2": true
}
application/xml, text/xml
Sample:
<CustomerBit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi_DoreeIT.Models"> <CodPostal>sample string 7</CodPostal> <Distrito>sample string 9</Distrito> <Email>sample string 12</Email> <Empresa>sample string 3</Empresa> <Funcao>sample string 10</Funcao> <Local>sample string 8</Local> <Morada1>sample string 5</Morada1> <Morada2>sample string 6</Morada2> <NContrib>sample string 2</NContrib> <Nome>sample string 4</Nome> <PoliticaPrivacidade>true</PoliticaPrivacidade> <RecebeInfo>true</RecebeInfo> <RecebeInfo2>true</RecebeInfo2> <Telefone>sample string 11</Telefone> <TitularConta>sample string 13</TitularConta> <iban>sample string 14</iban> <id>1</id> <password>sample string 15</password> </CustomerBit>
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. |