PUT api/ParishEvent/Update
Request Information
URI Parameters
None.
Body Parameters
ParishEventUpdateVM| Name | Description | Type | Additional information |
|---|---|---|---|
| EventId | integer |
Required |
|
| BookId | integer |
Required |
|
| FinYearId | integer |
Required |
|
| EventDate | string |
Required |
|
| EventTime | string |
None. |
|
| EventRefNo | string |
Required String length: inclusive between 0 and 25 |
|
| EventDescription | string |
Required String length: inclusive between 0 and 200 |
|
| EventType | ParishEventTypeLookupVM |
Required |
|
| Location | string |
String length: inclusive between 0 and 100 |
|
| Place | PlaceLookup |
None. |
|
| Parish | EstablishmentLookup |
None. |
|
| Remarks | string |
String length: inclusive between 0 and 200 |
|
| 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:
{
"EventId": 1,
"BookId": 2,
"FinYearId": 3,
"EventDate": "sample string 4",
"EventTime": "sample string 5",
"EventRefNo": "sample string 6",
"EventDescription": "sample string 7",
"EventType": {
"EventTypeId": 1,
"EventTypeName": "sample string 2"
},
"Location": "sample string 8",
"Place": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"Parish": {
"EstablishId": 1,
"EstablishName": "sample string 2",
"EstablishType": {
"EstablishTypeId": 1,
"EstablishTypeName": "sample string 2"
},
"EstablishCategory": {
"EstablishCategoryId": 1,
"EstablishCategoryName": "sample string 2"
},
"TotalMembers": 3,
"TotalHouses": 4
},
"Remarks": "sample string 9",
"Status": "sample string 10",
"UpdateUser": 11,
"UpdateIp": "sample string 12"
}
application/xml, text/xml
Sample:
<ParishEventUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<BookId>2</BookId>
<EventDate>sample string 4</EventDate>
<EventDescription>sample string 7</EventDescription>
<EventId>1</EventId>
<EventRefNo>sample string 6</EventRefNo>
<EventTime>sample string 5</EventTime>
<EventType>
<EventTypeId>1</EventTypeId>
<EventTypeName>sample string 2</EventTypeName>
</EventType>
<FinYearId>3</FinYearId>
<Location>sample string 8</Location>
<Parish>
<EstablishCategory>
<EstablishCategoryId>1</EstablishCategoryId>
<EstablishCategoryName>sample string 2</EstablishCategoryName>
</EstablishCategory>
<EstablishId>1</EstablishId>
<EstablishName>sample string 2</EstablishName>
<EstablishType>
<EstablishTypeId>1</EstablishTypeId>
<EstablishTypeName>sample string 2</EstablishTypeName>
</EstablishType>
<TotalHouses>4</TotalHouses>
<TotalMembers>3</TotalMembers>
</Parish>
<Place>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</Place>
<Remarks>sample string 9</Remarks>
<Status>sample string 10</Status>
<UpdateIp>sample string 12</UpdateIp>
<UpdateUser>11</UpdateUser>
</ParishEventUpdateVM>
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.