PUT api/Stockiest/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
StockiestModelsName | Description | Type | Additional information |
---|---|---|---|
SK_Id | integer |
None. |
|
SK_Code | string |
Max length: 10 |
|
SK_Name | string |
Required Max length: 30 |
|
SK_Country | string |
Max length: 10 |
|
SK_Street | string |
Required Max length: 200 |
|
SK_DoorNo | string |
Required Max length: 10 |
|
SK_PinCode | integer |
Required |
|
SK_MobileNo | integer |
Required |
|
SK_Email | string |
Required Max length: 50 |
|
SK_Note | string |
Required Max length: 500 |
|
SK_TINNo | string |
Required Max length: 30 |
|
SK_STNo | string |
Required Max length: 30 |
|
SK_Contract | string |
Required Max length: 255 |
|
StateSpeedSearch | StateSpeedSearchModels |
Required |
|
DistrictSpeedSearch | DistrictSpeedSearchModels |
Required |
|
TalukSpeedSearch | TalukSpeedSearchModels |
Required |
|
VillageSpeedSearch | VillageSpeedSearchModels |
Required |
|
ChainSpeedSearch | ChainSpeedSearchModels |
Required |
|
AssociateToWarehouse | string |
Required |
|
SelectedWarehouse | WarehouseSpeedSearchModels |
None. |
|
SK_UserId_FK | integer |
None. |
|
SK_TS | date |
None. |
|
SK_Inactive | character |
None. |
|
SK_TS_LastEdited | date |
None. |
|
SK_TS_Edited_Uid_FK | integer |
None. |
|
TotalAmount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "SK_Id": 1, "SK_Code": "sample string 2", "SK_Name": "sample string 3", "SK_Country": "sample string 4", "SK_Street": "sample string 5", "SK_DoorNo": "sample string 6", "SK_PinCode": 7, "SK_MobileNo": 8, "SK_Email": "sample string 9", "SK_Note": "sample string 10", "SK_TINNo": "sample string 11", "SK_STNo": "sample string 12", "SK_Contract": "sample string 13", "StateSpeedSearch": { "ST_Id": 1, "ST_StateID": "sample string 2", "ST_StateName": "sample string 3" }, "DistrictSpeedSearch": { "DI_Id": 1, "DI_DistrictId": "sample string 2", "DI_District": "sample string 3" }, "TalukSpeedSearch": { "TA_Id": 1, "TA_TalukId": "sample string 2", "TA_Taluk": "sample string 3" }, "VillageSpeedSearch": { "VI_Id": 1, "VI_VillageId": "sample string 2", "VI_Village": "sample string 3" }, "ChainSpeedSearch": { "C_Id": 1, "C_Code": "sample string 2", "C_Name": "sample string 3" }, "AssociateToWarehouse": "sample string 14", "SelectedWarehouse": { "WH_Id": 1, "WH_Code": "sample string 2", "WH_Name": "sample string 3" }, "SK_UserId_FK": 15, "SK_TS": "2025-01-09T00:27:58.2270195+05:30", "SK_Inactive": "A", "SK_TS_LastEdited": "2025-01-09T00:27:58.2270195+05:30", "SK_TS_Edited_Uid_FK": 19, "TotalAmount": 20.0 }
application/xml, text/xml
Sample:
<StockiestModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models"> <AssociateToWarehouse>sample string 14</AssociateToWarehouse> <ChainSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d2p1:C_Code>sample string 2</d2p1:C_Code> <d2p1:C_Id>1</d2p1:C_Id> <d2p1:C_Name>sample string 3</d2p1:C_Name> </ChainSpeedSearch> <DistrictSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d2p1:DI_District>sample string 3</d2p1:DI_District> <d2p1:DI_DistrictId>sample string 2</d2p1:DI_DistrictId> <d2p1:DI_Id>1</d2p1:DI_Id> </DistrictSpeedSearch> <SK_Code>sample string 2</SK_Code> <SK_Contract>sample string 13</SK_Contract> <SK_Country>sample string 4</SK_Country> <SK_DoorNo>sample string 6</SK_DoorNo> <SK_Email>sample string 9</SK_Email> <SK_Id>1</SK_Id> <SK_Inactive>65</SK_Inactive> <SK_MobileNo>8</SK_MobileNo> <SK_Name>sample string 3</SK_Name> <SK_Note>sample string 10</SK_Note> <SK_PinCode>7</SK_PinCode> <SK_STNo>sample string 12</SK_STNo> <SK_Street>sample string 5</SK_Street> <SK_TINNo>sample string 11</SK_TINNo> <SK_TS>2025-01-09T00:27:58.2270195+05:30</SK_TS> <SK_TS_Edited_Uid_FK>19</SK_TS_Edited_Uid_FK> <SK_TS_LastEdited>2025-01-09T00:27:58.2270195+05:30</SK_TS_LastEdited> <SK_UserId_FK>15</SK_UserId_FK> <SelectedWarehouse xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d2p1:WH_Code>sample string 2</d2p1:WH_Code> <d2p1:WH_Id>1</d2p1:WH_Id> <d2p1:WH_Name>sample string 3</d2p1:WH_Name> </SelectedWarehouse> <StateSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d2p1:ST_Id>1</d2p1:ST_Id> <d2p1:ST_StateID>sample string 2</d2p1:ST_StateID> <d2p1:ST_StateName>sample string 3</d2p1:ST_StateName> </StateSpeedSearch> <TalukSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d2p1:TA_Id>1</d2p1:TA_Id> <d2p1:TA_Taluk>sample string 3</d2p1:TA_Taluk> <d2p1:TA_TalukId>sample string 2</d2p1:TA_TalukId> </TalukSpeedSearch> <TotalAmount>20</TotalAmount> <VillageSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d2p1:VI_Id>1</d2p1:VI_Id> <d2p1:VI_Village>sample string 3</d2p1:VI_Village> <d2p1:VI_VillageId>sample string 2</d2p1:VI_VillageId> </VillageSpeedSearch> </StockiestModels>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.