POST api/ParkItemInventory/SaveInventoryTransaction
Request Information
URI Parameters
None.
Body Parameters
ParkItemInventoryViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PK_PINVID | integer |
None. |
|
| WristBandNumber | string |
None. |
|
| SubTotalAmount | decimal number |
None. |
|
| TotalCGST | decimal number |
None. |
|
| TotalSGST | decimal number |
None. |
|
| TotalAmount | decimal number |
None. |
|
| TotalDiscount | decimal number |
None. |
|
| NetPayableAmount | decimal number |
None. |
|
| TotalReievedAmount | decimal number |
None. |
|
| DigitalAmount | decimal number |
None. |
|
| FK_WristbandNumberID | integer |
None. |
|
| ItemCode | string |
None. |
|
| ItemName | string |
None. |
|
| Quantity | integer |
None. |
|
| InvoiceDate | date |
None. |
|
| listItemCode | Collection of string |
None. |
|
| FK_PaymentTypeID | integer |
None. |
|
| TypeSR | string |
None. |
|
| Gender | string |
None. |
|
| TotalRefundAmount | decimal number |
None. |
|
| ReturnDate | date |
None. |
|
| Return_FK_PaymentTypeID | integer |
None. |
|
| listparkItemInventoryDetailsViewmodel | Collection of ParkItemInventoryDetailsViewmodel |
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_PINVID": 1,
"WristBandNumber": "sample string 2",
"SubTotalAmount": 3.0,
"TotalCGST": 4.0,
"TotalSGST": 5.0,
"TotalAmount": 6.0,
"TotalDiscount": 7.0,
"NetPayableAmount": 8.0,
"TotalReievedAmount": 9.0,
"DigitalAmount": 10.0,
"FK_WristbandNumberID": 11,
"ItemCode": "sample string 12",
"ItemName": "sample string 13",
"Quantity": 1,
"InvoiceDate": "2026-10-19T06:11:07.0087601-07:00",
"listItemCode": [
"sample string 1",
"sample string 2"
],
"FK_PaymentTypeID": 1,
"TypeSR": "sample string 15",
"Gender": "sample string 16",
"TotalRefundAmount": 1.0,
"ReturnDate": "2026-10-19T06:11:07.0087601-07:00",
"Return_FK_PaymentTypeID": 1,
"listparkItemInventoryDetailsViewmodel": [
{
"PK_ParkInventoryDetails": 1,
"ItemName": "sample string 2",
"ItemCode": "sample string 3",
"Price": 4.0,
"Quantity": 1,
"Amount": 5.0,
"CGST": 6.0,
"SGST": 7.0,
"TotalAmount": 8.0,
"Note": "sample string 9",
"FK_InventoryID": 10,
"FK_ParkItemID": 11,
"RefundAmount": 1.0,
"IsActive": true,
"IsDelete": true,
"FK_CreatedBy": 1,
"FK_ModifiedBy": 1,
"CreatedDate": "2026-10-19T06:11:07.0087601-07:00",
"ModifiedDate": "2026-10-19T06:11:07.0087601-07:00",
"RowNumber": 1,
"RecordCount": 1,
"Result": "sample string 12",
"Message": "sample string 13",
"IsValid": true,
"StatusCode": 1
},
{
"PK_ParkInventoryDetails": 1,
"ItemName": "sample string 2",
"ItemCode": "sample string 3",
"Price": 4.0,
"Quantity": 1,
"Amount": 5.0,
"CGST": 6.0,
"SGST": 7.0,
"TotalAmount": 8.0,
"Note": "sample string 9",
"FK_InventoryID": 10,
"FK_ParkItemID": 11,
"RefundAmount": 1.0,
"IsActive": true,
"IsDelete": true,
"FK_CreatedBy": 1,
"FK_ModifiedBy": 1,
"CreatedDate": "2026-10-19T06:11:07.0087601-07:00",
"ModifiedDate": "2026-10-19T06:11:07.0087601-07:00",
"RowNumber": 1,
"RecordCount": 1,
"Result": "sample string 12",
"Message": "sample string 13",
"IsValid": true,
"StatusCode": 1
}
],
"IsActive": true,
"IsDelete": true,
"FK_CreatedBy": 1,
"FK_ModifiedBy": 1,
"CreatedDate": "2026-10-19T06:11:07.0087601-07:00",
"ModifiedDate": "2026-10-19T06:11:07.0087601-07:00",
"RowNumber": 1,
"RecordCount": 1,
"Result": "sample string 17",
"Message": "sample string 18",
"IsValid": true,
"StatusCode": 1
}
application/xml, text/xml
Sample:
<ParkItemInventoryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.ParkItemInventory">
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">2026-10-19T06:11:07.0087601-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 18</Message>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">2026-10-19T06:11:07.0087601-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 17</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>
<DigitalAmount>10</DigitalAmount>
<FK_PaymentTypeID>1</FK_PaymentTypeID>
<FK_WristbandNumberID>11</FK_WristbandNumberID>
<Gender>sample string 16</Gender>
<InvoiceDate>2026-10-19T06:11:07.0087601-07:00</InvoiceDate>
<ItemCode>sample string 12</ItemCode>
<ItemName>sample string 13</ItemName>
<NetPayableAmount>8</NetPayableAmount>
<PK_PINVID>1</PK_PINVID>
<Quantity>1</Quantity>
<ReturnDate>2026-10-19T06:11:07.0087601-07:00</ReturnDate>
<Return_FK_PaymentTypeID>1</Return_FK_PaymentTypeID>
<SubTotalAmount>3</SubTotalAmount>
<TotalAmount>6</TotalAmount>
<TotalCGST>4</TotalCGST>
<TotalDiscount>7</TotalDiscount>
<TotalRefundAmount>1</TotalRefundAmount>
<TotalReievedAmount>9</TotalReievedAmount>
<TotalSGST>5</TotalSGST>
<TypeSR>sample string 15</TypeSR>
<WristBandNumber>sample string 2</WristBandNumber>
<listItemCode xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</listItemCode>
<listparkItemInventoryDetailsViewmodel>
<ParkItemInventoryDetailsViewmodel>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">2026-10-19T06:11:07.0087601-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 13</Message>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">2026-10-19T06:11:07.0087601-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 12</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>
<Amount>5</Amount>
<CGST>6</CGST>
<FK_InventoryID>10</FK_InventoryID>
<FK_ParkItemID>11</FK_ParkItemID>
<ItemCode>sample string 3</ItemCode>
<ItemName>sample string 2</ItemName>
<Note>sample string 9</Note>
<PK_ParkInventoryDetails>1</PK_ParkInventoryDetails>
<Price>4</Price>
<Quantity>1</Quantity>
<RefundAmount>1</RefundAmount>
<SGST>7</SGST>
<TotalAmount>8</TotalAmount>
</ParkItemInventoryDetailsViewmodel>
<ParkItemInventoryDetailsViewmodel>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">2026-10-19T06:11:07.0087601-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 13</Message>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">2026-10-19T06:11:07.0087601-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 12</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>
<Amount>5</Amount>
<CGST>6</CGST>
<FK_InventoryID>10</FK_InventoryID>
<FK_ParkItemID>11</FK_ParkItemID>
<ItemCode>sample string 3</ItemCode>
<ItemName>sample string 2</ItemName>
<Note>sample string 9</Note>
<PK_ParkInventoryDetails>1</PK_ParkInventoryDetails>
<Price>4</Price>
<Quantity>1</Quantity>
<RefundAmount>1</RefundAmount>
<SGST>7</SGST>
<TotalAmount>8</TotalAmount>
</ParkItemInventoryDetailsViewmodel>
</listparkItemInventoryDetailsViewmodel>
</ParkItemInventoryViewModel>
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. |