| GET | /recipient/GUS/{NIP} | Get recipient by it's NIP. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Nip | path | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Result | form | T | 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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /recipient/GUS/{NIP} HTTP/1.1
Host: api.chmuradokumentow.pl
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"result":{"shortName":"String","name":"String","nip":"String","regon":"String","krs":"String","catId":0,"typeId":0,"recipientCType":"String","description":"String","streetName":"String","streetNumber":"String","streetFlatNumber":"String","postalCode":"String","town":"String","countryId":0,"isoCountry":"String","country":"String","email":"String","webSite":"String","phoneNumber":"String","faxNumber":"String","phoneNumber1":"String","mobileNumber":"String","bankAccName":"String","bankAccNumber":"String","defaultPaymentType":"String","defaultPaymentTerm":0,"defaultDiscount":0,"defaultCurrencyId":0,"defaultCurrency":"String","categoryId":0,"categoryName":"String","createdById":0,"modifiedById":0,"createdDate":"0001-01-01T00:00:00.0000000Z","modifiedDate":"0001-01-01T00:00:00.0000000Z","id":0}}