POST api/Wishlist/UpdateStatusToPurchased

Request Information

URI Parameters

None.

Body Parameters

UpdateStatus
NameDescriptionTypeAdditional information
ID

integer

Required

Status

boolean

Required

UpdatedByUserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Status": true,
  "UpdatedByUserID": 1
}

application/xml, text/xml

Sample:
<UpdateStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Request">
  <ID>1</ID>
  <Status>true</Status>
  <UpdatedByUserID>1</UpdatedByUserID>
</UpdateStatus>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

WishlistResponse
NameDescriptionTypeAdditional information
WishlistModel

WishlistModel

None.

ResponseCode

integer

None.

ResponseText

string

None.

Response Formats

application/json, text/json

Sample:
{
  "WishlistModel": {
    "ID": 1,
    "ProductVariantID": 1,
    "Quantity": 1,
    "CreatedByID": 1,
    "CreatedBy": "sample string 2",
    "OutletID": 1,
    "Outlet": "sample string 3",
    "Remarks": "sample string 4",
    "IsApproved": true,
    "ApprovedBy": "sample string 5",
    "PurchasedBy": "sample string 6",
    "IsPurchased": true,
    "ApprovedByID": 1,
    "PurchasedByID": 1,
    "CreatedAt": "2025-01-22T21:00:13.8463764-06:00",
    "UpdatedAt": "2025-01-22T21:00:13.8463764-06:00",
    "ApproveDate": "2025-01-22T21:00:13.8463764-06:00",
    "PurchaseDate": "2025-01-22T21:00:13.8463764-06:00",
    "IsActive": true,
    "CreatedAtString": "sample string 7",
    "ApproveDateString": "sample string 8",
    "PurchaseDateString": "sample string 9",
    "ProductVariant": "sample string 10",
    "Barcode": "sample string 11",
    "BLabel": "sample string 12"
  },
  "ResponseCode": 1,
  "ResponseText": "sample string 2"
}

application/xml, text/xml

Sample:
<WishlistResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Response">
  <ResponseCode xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">1</ResponseCode>
  <ResponseText xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">sample string 2</ResponseText>
  <WishlistModel xmlns:d2p1="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">
    <d2p1:ApproveDate>2025-01-22T21:00:13.8463764-06:00</d2p1:ApproveDate>
    <d2p1:ApproveDateString>sample string 8</d2p1:ApproveDateString>
    <d2p1:ApprovedBy>sample string 5</d2p1:ApprovedBy>
    <d2p1:ApprovedByID>1</d2p1:ApprovedByID>
    <d2p1:BLabel>sample string 12</d2p1:BLabel>
    <d2p1:Barcode>sample string 11</d2p1:Barcode>
    <d2p1:CreatedAt>2025-01-22T21:00:13.8463764-06:00</d2p1:CreatedAt>
    <d2p1:CreatedAtString>sample string 7</d2p1:CreatedAtString>
    <d2p1:CreatedBy>sample string 2</d2p1:CreatedBy>
    <d2p1:CreatedByID>1</d2p1:CreatedByID>
    <d2p1:ID>1</d2p1:ID>
    <d2p1:IsActive>true</d2p1:IsActive>
    <d2p1:IsApproved>true</d2p1:IsApproved>
    <d2p1:IsPurchased>true</d2p1:IsPurchased>
    <d2p1:Outlet>sample string 3</d2p1:Outlet>
    <d2p1:OutletID>1</d2p1:OutletID>
    <d2p1:ProductVariant>sample string 10</d2p1:ProductVariant>
    <d2p1:ProductVariantID>1</d2p1:ProductVariantID>
    <d2p1:PurchaseDate>2025-01-22T21:00:13.8463764-06:00</d2p1:PurchaseDate>
    <d2p1:PurchaseDateString>sample string 9</d2p1:PurchaseDateString>
    <d2p1:PurchasedBy>sample string 6</d2p1:PurchasedBy>
    <d2p1:PurchasedByID>1</d2p1:PurchasedByID>
    <d2p1:Quantity>1</d2p1:Quantity>
    <d2p1:Remarks>sample string 4</d2p1:Remarks>
    <d2p1:UpdatedAt>2025-01-22T21:00:13.8463764-06:00</d2p1:UpdatedAt>
  </WishlistModel>
</WishlistResponse>