POST api/ParkItemCategory/SaveParkItemCategory
Request Information
URI Parameters
None.
Body Parameters
ParkItemCategoryViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PK_ParkItemCategoryID | integer |
None. |
|
| CategoryName | string |
None. |
|
| FK_FacilityParentID | integer |
None. |
|
| Discription | string |
None. |
|
| IsActive | boolean |
None. |
|
| IsDelete | boolean |
None. |
|
| FK_CreatedBy | integer |
None. |
|
| FK_ModifiedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| ModifiedDate | date |
None. |
|
| RowNumber | integer |
None. |
|
| RecordCount | integer |
None. |
|
| Result | string |
None. |
|
| Message | string |
None. |
|
| IsValid | boolean |
None. |
|
| StatusCode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PK_ParkItemCategoryID": 1,
"CategoryName": "sample string 1",
"FK_FacilityParentID": 1,
"Discription": "sample string 2",
"IsActive": true,
"IsDelete": true,
"FK_CreatedBy": 1,
"FK_ModifiedBy": 1,
"CreatedDate": "2026-10-19T07:37:07.435805-07:00",
"ModifiedDate": "2026-10-19T07:37:07.435805-07:00",
"RowNumber": 1,
"RecordCount": 1,
"Result": "sample string 3",
"Message": "sample string 4",
"IsValid": true,
"StatusCode": 1
}
application/xml, text/xml
Sample:
<ParkItemCategoryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.ParkItemCategory"> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">2026-10-19T07:37:07.435805-07:00</CreatedDate> <FK_CreatedBy xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">1</FK_CreatedBy> <FK_ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">1</FK_ModifiedBy> <IsActive xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">true</IsActive> <IsDelete xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">true</IsDelete> <IsValid xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">true</IsValid> <Message xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">sample string 4</Message> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">2026-10-19T07:37:07.435805-07:00</ModifiedDate> <RecordCount xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">1</RecordCount> <Result xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">sample string 3</Result> <RowNumber xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">1</RowNumber> <StatusCode xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">1</StatusCode> <CategoryName>sample string 1</CategoryName> <Discription>sample string 2</Discription> <FK_FacilityParentID>1</FK_FacilityParentID> <PK_ParkItemCategoryID>1</PK_ParkItemCategoryID> </ParkItemCategoryViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |