POST api/CharityProjectMaster/Save
Request Information
URI Parameters
None.
Body Parameters
CharityProjectMasterSaveVM| Name | Description | Type | Additional information |
|---|---|---|---|
| BookId | integer |
Required |
|
| ProjectName | string |
Required String length: inclusive between 0 and 100 |
|
| Code | string |
Required String length: inclusive between 0 and 5 |
|
| Status | string |
Required Matching regular expression pattern: A|I |
|
| ProjectType | CharityProjectTypeLookupVM |
Required |
|
| MaxAmount | decimal number |
Required |
|
| NoStage | integer |
Required |
|
| MaxRecmentClergyFyear | integer |
Required |
|
| Account | AccountMasterLookup |
Required |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"BookId": 1,
"ProjectName": "sample string 2",
"Code": "sample string 3",
"Status": "sample string 4",
"ProjectType": {
"ProjectTypeId": 1,
"ProjectTypeName": "sample string 2"
},
"MaxAmount": 5.0,
"NoStage": 6,
"MaxRecmentClergyFyear": 7,
"Account": {
"AccountId": 1,
"AccountName": "sample string 2"
},
"CreateUser": 8,
"CreateIp": "sample string 9"
}
application/xml, text/xml
Sample:
<CharityProjectMasterSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<Account>
<AccountId>1</AccountId>
<AccountName>sample string 2</AccountName>
</Account>
<BookId>1</BookId>
<Code>sample string 3</Code>
<CreateIp>sample string 9</CreateIp>
<CreateUser>8</CreateUser>
<MaxAmount>5</MaxAmount>
<MaxRecmentClergyFyear>7</MaxRecmentClergyFyear>
<NoStage>6</NoStage>
<ProjectName>sample string 2</ProjectName>
<ProjectType>
<ProjectTypeId>1</ProjectTypeId>
<ProjectTypeName>sample string 2</ProjectTypeName>
</ProjectType>
<Status>sample string 4</Status>
</CharityProjectMasterSaveVM>
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.