| GET | /recipient/search | Search All Recipients |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Query | query | string | No | |
| OrderBy | query | string | No | |
| SortType | query | string | No | |
| Pages | query | int | No | |
| Amount | query | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Amount | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| MultipleResult | form | IList<T> | No | |
| Amount | form | long | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ShortName | form | string | No | |
| Name | form | string | No | |
| Nip | form | string | No | |
| Regon | form | string | No | |
| Krs | form | string | No | |
| CatId | form | uint | No | |
| TypeId | form | int | No | |
| RecipientCType | form | string | No | |
| Description | form | string | No | |
| StreetName | form | string | No | |
| StreetNumber | form | string | No | |
| StreetFlatNumber | form | string | No | |
| PostalCode | form | string | No | |
| Town | form | string | No | |
| CountryId | form | int | No | |
| IsoCountry | form | string | No | |
| Country | form | string | No | |
| form | string | No | ||
| WebSite | form | string | No | |
| PhoneNumber | form | string | No | |
| FaxNumber | form | string | No | |
| PhoneNumber1 | form | string | No | |
| MobileNumber | form | string | No | |
| BankAccName | form | string | No | |
| BankAccNumber | form | string | No | |
| DefaultPaymentType | form | string | No | |
| DefaultPaymentTerm | form | uint | No | |
| DefaultDiscount | form | decimal | No | |
| DefaultCurrencyId | form | uint | No | |
| DefaultCurrency | form | string | No | |
| CategoryId | form | uint | No | |
| CategoryName | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CreatedById | form | uint | No | |
| ModifiedById | form | uint | No | |
| CreatedDate | form | DateTime | No | |
| ModifiedDate | form | DateTime | No | |
| Id | form | uint | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /recipient/search HTTP/1.1 Host: api.chmuradokumentow.pl Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <SearchRecipientResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Recipient.Query"> <Amount xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0</Amount> <MultipleResult xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Recipient.Model" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base" /> <Amount>0</Amount> </SearchRecipientResponse>