POST api/admin/allocation-settings/v1/save
Request Information
URI Parameters
None.
Body Parameters
ItemAllocationSetting| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| user_id | integer |
None. |
|
| year_sem_id | integer |
None. |
|
| item_id | integer |
None. |
|
| day_factor | decimal number |
None. |
|
| boarding_factor | decimal number |
None. |
|
| boarding_quantity | decimal number |
None. |
|
| per_boarding_students | integer |
None. |
|
| day_quantity | decimal number |
None. |
|
| per_day_students | integer |
None. |
|
| last_modified | date |
None. |
|
| roundup_threshold | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"user_id": 2,
"year_sem_id": 3,
"item_id": 4,
"day_factor": 5.0,
"boarding_factor": 6.0,
"boarding_quantity": 7.0,
"per_boarding_students": 8,
"day_quantity": 9.0,
"per_day_students": 10,
"last_modified": "2025-12-06T04:29:49.6540869+00:00",
"roundup_threshold": 12.0
}
application/xml, text/xml
Sample:
<ItemAllocationSetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Stocks.Models"> <boarding_factor>6</boarding_factor> <boarding_quantity>7</boarding_quantity> <day_factor>5</day_factor> <day_quantity>9</day_quantity> <id>1</id> <item_id>4</item_id> <last_modified>2025-12-06T04:29:49.6540869+00:00</last_modified> <per_boarding_students>8</per_boarding_students> <per_day_students>10</per_day_students> <roundup_threshold>12</roundup_threshold> <user_id>2</user_id> <year_sem_id>3</year_sem_id> </ItemAllocationSetting>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.