POST api/Values/UpdateStockDIstributionModel/{userid}/{stockid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userid | string |
Required |
|
| stockid | integer |
Required |
Body Parameters
StockDistributionDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| stockid | integer |
None. |
|
| state | string |
None. |
|
| district | string |
None. |
|
| block | string |
None. |
|
| partnerid | string |
None. |
|
| partnername | string |
None. |
|
| phase | string |
None. |
|
| android | integer |
None. |
|
| windows | integer |
None. |
|
| distributioncount | integer |
None. |
|
| stocktype | string |
None. |
|
| collectinguserid | string |
None. |
|
| collectingusername | string |
None. |
|
| challan | string |
None. |
|
| distributiondate | date |
None. |
|
| couriertype | string |
None. |
|
| url | string |
None. |
|
| createby | string |
None. |
|
| createon | date |
None. |
|
| updateby | string |
None. |
|
| updateon | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"stockid": 1,
"state": "sample string 2",
"district": "sample string 3",
"block": "sample string 4",
"partnerid": "sample string 5",
"partnername": "sample string 6",
"phase": "sample string 7",
"android": 1,
"windows": 1,
"distributioncount": 1,
"stocktype": "sample string 8",
"collectinguserid": "sample string 9",
"collectingusername": "sample string 10",
"challan": "sample string 11",
"distributiondate": "2025-12-11T19:45:02.8117413+05:30",
"couriertype": "sample string 12",
"url": "sample string 13",
"createby": "sample string 14",
"createon": "2025-12-11T19:45:02.8117413+05:30",
"updateby": "sample string 15",
"updateon": "2025-12-11T19:45:02.8117413+05:30"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"