POST api/PostStockUpdate
Request Information
URI Parameters
None.
Body Parameters
MedicationUpdateStockModelName | Description | Type | Additional information |
---|---|---|---|
KitID | integer |
None. |
|
DrugID | integer |
None. |
|
Amount | decimal number |
None. |
|
UserID | integer |
None. |
|
BatchNUmber | string |
None. |
|
ExpiryDate | date |
None. |
|
Note | string |
None. |
|
TransactionDate | date |
None. |
|
TypeID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "KitID": 1, "DrugID": 2, "Amount": 3.0, "UserID": 4, "BatchNUmber": "sample string 5", "ExpiryDate": "2025-08-27T05:48:20.5806939+01:00", "Note": "sample string 7", "TransactionDate": "2025-08-27T05:48:20.5806939+01:00", "TypeID": 9 }
application/octet-stream, multipart/form-data
Sample:
{"KitID":1,"DrugID":2,"Amount":3.0,"UserID":4,"BatchNUmber":"sample string 5","ExpiryDate":"2025-08-27T05:48:20.5806939+01:00","Note":"sample string 7","TransactionDate":"2025-08-27T05:48:20.5806939+01:00","TypeID":9}
application/xml, text/xml
Sample:
<MedicationUpdateStockModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HTMW.Models"> <Amount>3</Amount> <BatchNUmber>sample string 5</BatchNUmber> <DrugID>2</DrugID> <ExpiryDate>2025-08-27T05:48:20.5806939+01:00</ExpiryDate> <KitID>1</KitID> <Note>sample string 7</Note> <TransactionDate>2025-08-27T05:48:20.5806939+01:00</TransactionDate> <TypeID>9</TypeID> <UserID>4</UserID> </MedicationUpdateStockModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MedicationUpdateStockModelName | Description | Type | Additional information |
---|---|---|---|
KitID | integer |
None. |
|
DrugID | integer |
None. |
|
Amount | decimal number |
None. |
|
UserID | integer |
None. |
|
BatchNUmber | string |
None. |
|
ExpiryDate | date |
None. |
|
Note | string |
None. |
|
TransactionDate | date |
None. |
|
TypeID | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "KitID": 1, "DrugID": 2, "Amount": 3.0, "UserID": 4, "BatchNUmber": "sample string 5", "ExpiryDate": "2025-08-27T05:48:20.5806939+01:00", "Note": "sample string 7", "TransactionDate": "2025-08-27T05:48:20.5806939+01:00", "TypeID": 9 }
application/octet-stream, multipart/form-data
Sample:
{"KitID":1,"DrugID":2,"Amount":3.0,"UserID":4,"BatchNUmber":"sample string 5","ExpiryDate":"2025-08-27T05:48:20.5806939+01:00","Note":"sample string 7","TransactionDate":"2025-08-27T05:48:20.5806939+01:00","TypeID":9}
application/xml, text/xml
Sample:
<MedicationUpdateStockModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HTMW.Models"> <Amount>3</Amount> <BatchNUmber>sample string 5</BatchNUmber> <DrugID>2</DrugID> <ExpiryDate>2025-08-27T05:48:20.5806939+01:00</ExpiryDate> <KitID>1</KitID> <Note>sample string 7</Note> <TransactionDate>2025-08-27T05:48:20.5806939+01:00</TransactionDate> <TypeID>9</TypeID> <UserID>4</UserID> </MedicationUpdateStockModel>