POST api/GenBody/Save
Request Information
URI Parameters
None.
Body Parameters
GenBodySaveVM| Name | Description | Type | Additional information |
|---|---|---|---|
| GenBodyDesc | string |
Required String length: inclusive between 0 and 100 |
|
| Code | string |
String length: inclusive between 0 and 10 |
|
| StartDate | string |
Required |
|
| EndDate | string |
Required |
|
| Status | string |
Required Matching regular expression pattern: A|I |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
|
| AgeBarrier | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"GenBodyDesc": "sample string 1",
"Code": "sample string 2",
"StartDate": "sample string 3",
"EndDate": "sample string 4",
"Status": "sample string 5",
"CreateUser": 6,
"CreateIp": "sample string 7",
"AgeBarrier": 8
}
application/xml, text/xml
Sample:
<GenBodySaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <AgeBarrier>8</AgeBarrier> <Code>sample string 2</Code> <CreateIp>sample string 7</CreateIp> <CreateUser>6</CreateUser> <EndDate>sample string 4</EndDate> <GenBodyDesc>sample string 1</GenBodyDesc> <StartDate>sample string 3</StartDate> <Status>sample string 5</Status> </GenBodySaveVM>
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.