POST api/pOSOrderDetails/POSOrderDetailsList_Upsert

Request Information

URI Parameters

None.

Body Parameters

Collection of POSOrderDetails
NameDescriptionTypeAdditional information
Id

integer

None.

POSDetailsId

integer

None.

POSInvoiceId

integer

None.

ServiceId

integer

None.

POSTypeId

integer

None.

CategoryId

integer

None.

AssignUserId

integer

None.

AssignUserId2

integer

None.

IsDeleted

boolean

None.

CreatedAt

date

None.

CreatedBy

integer

None.

UpdatedAt

date

None.

UpdatedBy

integer

None.

DeletedAt

date

None.

DeletedBy

integer

None.

Price

decimal number

None.

AssignUserQueue

integer

None.

ProductType

integer

None.

ExpectedServiceTime

string

None.

RequestId

string

None.

lang

string

None.

ExpiryDate

string

None.

IsDeferred

boolean

None.

CreatedDateStr

string

None.

UpdatedDateStr

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "POSDetailsId": 2,
    "POSInvoiceId": 3,
    "ServiceId": 4,
    "POSTypeId": 5,
    "CategoryId": 6,
    "AssignUserId": 7,
    "AssignUserId2": 8,
    "IsDeleted": true,
    "CreatedAt": "2025-07-08T20:26:12.6048504+03:00",
    "CreatedBy": 11,
    "UpdatedAt": "2025-07-08T20:26:12.6048504+03:00",
    "UpdatedBy": 13,
    "DeletedAt": "2025-07-08T20:26:12.6048504+03:00",
    "DeletedBy": 15,
    "Price": 16.0,
    "AssignUserQueue": 17,
    "ProductType": 18,
    "ExpectedServiceTime": "sample string 19",
    "RequestId": "sample string 20",
    "lang": "sample string 21",
    "ExpiryDate": "sample string 22",
    "IsDeferred": true,
    "CreatedDateStr": "08-Jul-2025 08:26 PM",
    "UpdatedDateStr": "08-Jul-2025 08:26 PM"
  },
  {
    "Id": 1,
    "POSDetailsId": 2,
    "POSInvoiceId": 3,
    "ServiceId": 4,
    "POSTypeId": 5,
    "CategoryId": 6,
    "AssignUserId": 7,
    "AssignUserId2": 8,
    "IsDeleted": true,
    "CreatedAt": "2025-07-08T20:26:12.6048504+03:00",
    "CreatedBy": 11,
    "UpdatedAt": "2025-07-08T20:26:12.6048504+03:00",
    "UpdatedBy": 13,
    "DeletedAt": "2025-07-08T20:26:12.6048504+03:00",
    "DeletedBy": 15,
    "Price": 16.0,
    "AssignUserQueue": 17,
    "ProductType": 18,
    "ExpectedServiceTime": "sample string 19",
    "RequestId": "sample string 20",
    "lang": "sample string 21",
    "ExpiryDate": "sample string 22",
    "IsDeferred": true,
    "CreatedDateStr": "08-Jul-2025 08:26 PM",
    "UpdatedDateStr": "08-Jul-2025 08:26 PM"
  }
]

text/xml

Sample:
<ArrayOfPOSOrderDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.V1">
  <POSOrderDetails>
    <AssignUserId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">7</AssignUserId>
    <AssignUserId2 xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">8</AssignUserId2>
    <AssignUserQueue xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">17</AssignUserQueue>
    <CategoryId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">6</CategoryId>
    <CreatedAt xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:26:12.6048504+03:00</CreatedAt>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">11</CreatedBy>
    <DeletedAt xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:26:12.6048504+03:00</DeletedAt>
    <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">15</DeletedBy>
    <ExpectedServiceTime xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 19</ExpectedServiceTime>
    <ExpiryDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 22</ExpiryDate>
    <Id xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">1</Id>
    <IsDeferred xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">true</IsDeferred>
    <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">true</IsDeleted>
    <POSDetailsId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2</POSDetailsId>
    <POSInvoiceId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">3</POSInvoiceId>
    <POSTypeId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">5</POSTypeId>
    <Price xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">16</Price>
    <ProductType xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">18</ProductType>
    <RequestId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 20</RequestId>
    <ServiceId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">4</ServiceId>
    <UpdatedAt xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:26:12.6048504+03:00</UpdatedAt>
    <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">13</UpdatedBy>
    <lang xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 21</lang>
  </POSOrderDetails>
  <POSOrderDetails>
    <AssignUserId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">7</AssignUserId>
    <AssignUserId2 xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">8</AssignUserId2>
    <AssignUserQueue xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">17</AssignUserQueue>
    <CategoryId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">6</CategoryId>
    <CreatedAt xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:26:12.6048504+03:00</CreatedAt>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">11</CreatedBy>
    <DeletedAt xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:26:12.6048504+03:00</DeletedAt>
    <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">15</DeletedBy>
    <ExpectedServiceTime xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 19</ExpectedServiceTime>
    <ExpiryDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 22</ExpiryDate>
    <Id xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">1</Id>
    <IsDeferred xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">true</IsDeferred>
    <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">true</IsDeleted>
    <POSDetailsId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2</POSDetailsId>
    <POSInvoiceId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">3</POSInvoiceId>
    <POSTypeId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">5</POSTypeId>
    <Price xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">16</Price>
    <ProductType xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">18</ProductType>
    <RequestId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 20</RequestId>
    <ServiceId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">4</ServiceId>
    <UpdatedAt xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:26:12.6048504+03:00</UpdatedAt>
    <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">13</UpdatedBy>
    <lang xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 21</lang>
  </POSOrderDetails>
</ArrayOfPOSOrderDetails>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.