| POST | /Warehousing/SavePActionProducts |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Iud | body | string | No | |
| Prod_id | body | string | No | |
| Bcode | body | string | No | |
| Name | body | string | No | |
| StartDate | body | DateTime | No | |
| EndDate | body | DateTime | No | |
| Spend | body | bool | No | |
| ProducerId | body | string | No | |
| CategoryId | body | string | No | |
| PpcatId | body | string | No | |
| UnitId | body | int? | No | |
| Det | body | List<TfPActionProductDet> | No | |
| MobUsers | body | List<int> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| ProdId | form | string | No | |
| ProdppId | form | string | No | |
| Scount | form | decimal | No | |
| Price | form | decimal | No | |
| IsGift | form | bool | No | |
| Bcode | form | string | No | |
| ProductsName | form | string | No | |
| CategoryName | form | string | No | |
| ProducerName | form | string | No | |
| Cost | form | decimal | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Successs | form | bool | 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 /Warehousing/SavePActionProducts HTTP/1.1
Host: 10.10.0.107
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Iud":"String","Prod_id":"String","Bcode":"String","Name":"String","StartDate":"\/Date(-62135596800000-0000)\/","EndDate":"\/Date(-62135596800000-0000)\/","Spend":false,"ProducerId":"String","CategoryId":"String","PpcatId":"String","UnitId":0,"Det":[{"Id":0,"ProdId":"String","ProdppId":"String","Scount":0,"Price":0,"IsGift":false,"Bcode":"String","ProductsName":"String","CategoryName":"String","ProducerName":"String","Cost":0}],"MobUsers":[0]}
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"}},"Successs":false}