PUT api/CharityProjectMaster/Update
Request Information
URI Parameters
None.
Body Parameters
CharityProjectMasterUpdateVM| Name | Description | Type | Additional information |
|---|---|---|---|
| ProjectId | integer |
Required |
|
| BookId | integer |
Required |
|
| ProjectName | string |
Required String length: inclusive between 0 and 100 |
|
| Code | string |
Required String length: inclusive between 0 and 10 |
|
| 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 |
|
| UpdateUser | integer |
Required |
|
| UpdateIp | string |
Required String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"ProjectId": 1,
"BookId": 2,
"ProjectName": "sample string 3",
"Code": "sample string 4",
"Status": "sample string 5",
"ProjectType": {
"ProjectTypeId": 1,
"ProjectTypeName": "sample string 2"
},
"MaxAmount": 6.0,
"NoStage": 7,
"MaxRecmentClergyFyear": 8,
"Account": {
"AccountId": 1,
"AccountName": "sample string 2"
},
"UpdateUser": 9,
"UpdateIp": "sample string 10"
}
application/xml, text/xml
Sample:
<CharityProjectMasterUpdateVM 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>2</BookId>
<Code>sample string 4</Code>
<MaxAmount>6</MaxAmount>
<MaxRecmentClergyFyear>8</MaxRecmentClergyFyear>
<NoStage>7</NoStage>
<ProjectId>1</ProjectId>
<ProjectName>sample string 3</ProjectName>
<ProjectType>
<ProjectTypeId>1</ProjectTypeId>
<ProjectTypeName>sample string 2</ProjectTypeName>
</ProjectType>
<Status>sample string 5</Status>
<UpdateIp>sample string 10</UpdateIp>
<UpdateUser>9</UpdateUser>
</CharityProjectMasterUpdateVM>
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.