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