POST api/Education/SaveAllocatedBenefits
Request Information
URI Parameters
None.
Body Parameters
AllocatedBenefitsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OperatingUnitID | integer |
None. |
|
| LogId | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| UpdatedBy | integer |
None. |
|
| Notes | string |
None. |
|
| BenefitArr | Collection of AllocatedBenefit |
None. |
Request Formats
application/json, text/json
Sample:
{
"OperatingUnitID": 1,
"LogId": 1,
"CreatedBy": 1,
"UpdatedBy": 1,
"Notes": "sample string 2",
"BenefitArr": [
{
"AllowcatedBenefitID": 1,
"BenefitID": 1,
"BenefitName": "sample string 1",
"BenefitOtherName": "sample string 2",
"Active": true,
"CreatedBy": 1,
"UpdatedBy": 1,
"CreatedDate": "2026-04-06T21:36:24.9695814-05:00",
"UpdatedDate": "2026-04-06T21:36:24.9695814-05:00",
"DBNo": 1,
"AppNo": 1,
"IsActive": true,
"IsDeleted": true,
"Notes": "sample string 3"
},
{
"AllowcatedBenefitID": 1,
"BenefitID": 1,
"BenefitName": "sample string 1",
"BenefitOtherName": "sample string 2",
"Active": true,
"CreatedBy": 1,
"UpdatedBy": 1,
"CreatedDate": "2026-04-06T21:36:24.9695814-05:00",
"UpdatedDate": "2026-04-06T21:36:24.9695814-05:00",
"DBNo": 1,
"AppNo": 1,
"IsActive": true,
"IsDeleted": true,
"Notes": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<AllocatedBenefitsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.Model">
<BenefitArr>
<AllocatedBenefit>
<Active>true</Active>
<AllowcatedBenefitID>1</AllowcatedBenefitID>
<AppNo>1</AppNo>
<BenefitID>1</BenefitID>
<BenefitName>sample string 1</BenefitName>
<BenefitOtherName>sample string 2</BenefitOtherName>
<CreatedBy>1</CreatedBy>
<CreatedDate>2026-04-06T21:36:24.9695814-05:00</CreatedDate>
<DBNo>1</DBNo>
<IsActive>true</IsActive>
<IsDeleted>true</IsDeleted>
<Notes>sample string 3</Notes>
<UpdatedBy>1</UpdatedBy>
<UpdatedDate>2026-04-06T21:36:24.9695814-05:00</UpdatedDate>
</AllocatedBenefit>
<AllocatedBenefit>
<Active>true</Active>
<AllowcatedBenefitID>1</AllowcatedBenefitID>
<AppNo>1</AppNo>
<BenefitID>1</BenefitID>
<BenefitName>sample string 1</BenefitName>
<BenefitOtherName>sample string 2</BenefitOtherName>
<CreatedBy>1</CreatedBy>
<CreatedDate>2026-04-06T21:36:24.9695814-05:00</CreatedDate>
<DBNo>1</DBNo>
<IsActive>true</IsActive>
<IsDeleted>true</IsDeleted>
<Notes>sample string 3</Notes>
<UpdatedBy>1</UpdatedBy>
<UpdatedDate>2026-04-06T21:36:24.9695814-05:00</UpdatedDate>
</AllocatedBenefit>
</BenefitArr>
<CreatedBy>1</CreatedBy>
<LogId>1</LogId>
<Notes>sample string 2</Notes>
<OperatingUnitID>1</OperatingUnitID>
<UpdatedBy>1</UpdatedBy>
</AllocatedBenefitsModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | ResultStatus |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 100,
"Message": "sample string 1",
"Data": {}
}
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.Generics"> <Data /> <Message>sample string 1</Message> <Status>Success</Status> </Result>