POST api/MedAidPeriod/Save
Request Information
URI Parameters
None.
Body Parameters
MedAidPeriodSaveVM| Name | Description | Type | Additional information |
|---|---|---|---|
| PeriodName | string |
Required String length: inclusive between 0 and 50 |
|
| FinYearId | integer |
Required |
|
| Code | string |
String length: inclusive between 0 and 10 |
|
| StartDate | string |
Required |
|
| EndDate | string |
Required |
|
| SubscrAmount | decimal number |
None. |
|
| SubsidyAmount | decimal number |
None. |
|
| ClosedStatus | string |
Required Matching regular expression pattern: Y|N |
|
| Status | string |
Required Matching regular expression pattern: A|I |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"PeriodName": "sample string 1",
"FinYearId": 2,
"Code": "sample string 3",
"StartDate": "sample string 4",
"EndDate": "sample string 5",
"SubscrAmount": 6.0,
"SubsidyAmount": 7.0,
"ClosedStatus": "sample string 8",
"Status": "sample string 9",
"CreateUser": 10,
"CreateIp": "sample string 11"
}
application/xml, text/xml
Sample:
<MedAidPeriodSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <ClosedStatus>sample string 8</ClosedStatus> <Code>sample string 3</Code> <CreateIp>sample string 11</CreateIp> <CreateUser>10</CreateUser> <EndDate>sample string 5</EndDate> <FinYearId>2</FinYearId> <PeriodName>sample string 1</PeriodName> <StartDate>sample string 4</StartDate> <Status>sample string 9</Status> <SubscrAmount>6</SubscrAmount> <SubsidyAmount>7</SubsidyAmount> </MedAidPeriodSaveVM>
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.