POST api/Product/SetProductShowOnInvoiceStatus
Request Information
URI Parameters
None.
Body Parameters
SetProductShowOnInvoiceStatusDtoName | Description | Type | Additional information |
---|---|---|---|
ProductId | globally unique identifier |
None. |
|
ShowOnInvoice | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "productId": "f2737f84-6df7-4e21-b749-f7020e5be1a8", "showOnInvoice": true }
application/xml, text/xml
Sample:
<SetProductShowOnInvoiceStatusDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <ProductId>f2737f84-6df7-4e21-b749-f7020e5be1a8</ProductId> <ShowOnInvoice>true</ShowOnInvoice> </SetProductShowOnInvoiceStatusDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"productId":"f2737f84-6df7-4e21-b749-f7020e5be1a8","showOnInvoice":true}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.