POST api/Wishlist/Add
Request Information
URI Parameters
None.
Body Parameters
WishlistModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
ProductVariantID | integer |
None. |
|
Quantity | integer |
None. |
|
CreatedByID | integer |
None. |
|
CreatedBy | string |
None. |
|
OutletID | integer |
None. |
|
Outlet | string |
None. |
|
Remarks | string |
None. |
|
IsApproved | boolean |
None. |
|
ApprovedBy | string |
None. |
|
PurchasedBy | string |
None. |
|
IsPurchased | boolean |
None. |
|
ApprovedByID | integer |
None. |
|
PurchasedByID | integer |
None. |
|
CreatedAt | date |
None. |
|
UpdatedAt | date |
None. |
|
ApproveDate | date |
None. |
|
PurchaseDate | date |
None. |
|
IsActive | boolean |
None. |
|
CreatedAtString | string |
None. |
|
ApproveDateString | string |
None. |
|
PurchaseDateString | string |
None. |
|
ProductVariant | string |
None. |
|
Barcode | string |
None. |
|
BLabel | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "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-22T20:45:12.3918436-06:00", "UpdatedAt": "2025-01-22T20:45:12.3918436-06:00", "ApproveDate": "2025-01-22T20:45:12.3918436-06:00", "PurchaseDate": "2025-01-22T20:45:12.3918436-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" }
application/xml, text/xml
Sample:
<WishlistModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel"> <ApproveDate>2025-01-22T20:45:12.3918436-06:00</ApproveDate> <ApproveDateString>sample string 8</ApproveDateString> <ApprovedBy>sample string 5</ApprovedBy> <ApprovedByID>1</ApprovedByID> <BLabel>sample string 12</BLabel> <Barcode>sample string 11</Barcode> <CreatedAt>2025-01-22T20:45:12.3918436-06:00</CreatedAt> <CreatedAtString>sample string 7</CreatedAtString> <CreatedBy>sample string 2</CreatedBy> <CreatedByID>1</CreatedByID> <ID>1</ID> <IsActive>true</IsActive> <IsApproved>true</IsApproved> <IsPurchased>true</IsPurchased> <Outlet>sample string 3</Outlet> <OutletID>1</OutletID> <ProductVariant>sample string 10</ProductVariant> <ProductVariantID>1</ProductVariantID> <PurchaseDate>2025-01-22T20:45:12.3918436-06:00</PurchaseDate> <PurchaseDateString>sample string 9</PurchaseDateString> <PurchasedBy>sample string 6</PurchasedBy> <PurchasedByID>1</PurchasedByID> <Quantity>1</Quantity> <Remarks>sample string 4</Remarks> <UpdatedAt>2025-01-22T20:45:12.3918436-06:00</UpdatedAt> </WishlistModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
WishlistResponseName | Description | Type | Additional 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-22T20:45:12.3918436-06:00", "UpdatedAt": "2025-01-22T20:45:12.3918436-06:00", "ApproveDate": "2025-01-22T20:45:12.3918436-06:00", "PurchaseDate": "2025-01-22T20:45:12.3918436-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-22T20:45:12.3918436-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-22T20:45:12.3918436-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-22T20:45:12.3918436-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-22T20:45:12.3918436-06:00</d2p1:UpdatedAt> </WishlistModel> </WishlistResponse>