| GET | /Common/Dictionary/ProducersOrm/{ProducerId} | ||
|---|---|---|---|
| GET | /Common/Dictionary/ProducersOrm |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ProducerId | path | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Result | form | List<Producer> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ProducerID | form | string | No | |
| ProducerName | form | string | No | |
| CountryId | form | string | No | |
| LOwn | form | bool | No | |
| Speend | form | bool | No | |
| ProducerNameEnglish | form | string | No | |
| Address | form | string | No | |
| PostalCode | form | string | No | |
| Phone | form | string | No | |
| Fax | form | string | No | |
| Person | form | string | No | |
| form | string | No | ||
| Ldefault | form | bool | No | |
| MrgId | form | int? | No | |
| Country | form | Country | No | |
| ProducerCountry | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CountryId | form | string | No | Country id |
| CountryNe | form | string | No | Name (Eng) |
| LDefault | form | bool | No | Default Country for Use |
| Spend | form | bool? | No | Record for Use - 0 ; Record Blocked for Use - 1 |
| CountryNu | form | string | No | Name (Geo Unicode) |
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 /Common/Dictionary/ProducersOrm/{ProducerId} HTTP/1.1
Host: 10.10.0.107
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Result":[{"ProducerID":"String","ProducerName":"String","CountryId":"String","LOwn":false,"Speend":false,"ProducerNameEnglish":"String","Address":"String","PostalCode":"String","Phone":"String","Fax":"String","Person":"String","Email":"String","Ldefault":false,"MrgId":0,"Country":{"CountryId":"String","CountryNe":"String","LDefault":false,"Spend":false,"CountryNu":"String"},"ProducerCountry":"String"}]}