POST | /Common/Producer |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Producer | body | 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) |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
NewPPCatId | form | string | 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.
POST /Common/Producer HTTP/1.1
Host: apex.nikoratrade.ge
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Producer":{"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"}}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"NewPPCatId":"String"}