POST api/Supplies/AddOrUpdateColorToner
Request Information
URI Parameters
None.
Body Parameters
TCOeColorTonerDetailsName | Description | Type | Additional information |
---|---|---|---|
ColorTonerDetailID | integer |
None. |
|
ColorTonerCostStd | decimal number |
None. |
|
ColorTonerPageLifeStd | integer |
None. |
|
ColorTonerPartNumberStd | string |
None. |
|
StdActive | boolean |
None. |
|
ColorTonerCostHighCap | decimal number |
None. |
|
ColorTonerPageLifeHighCap | integer |
None. |
|
ColorTonerPartNumberHighCap | string |
None. |
|
HighCapActive | boolean |
None. |
|
UpdateReason | string |
None. |
|
InsertDate | date |
None. |
|
InsertUser | string |
None. |
|
UpdateDate | date |
None. |
|
UpdateUser | string |
None. |
|
ColorStarterPageLife | integer |
None. |
|
SupplyType | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ColorTonerDetailID": 1, "ColorTonerCostStd": 2.1, "ColorTonerPageLifeStd": 3, "ColorTonerPartNumberStd": "sample string 4", "StdActive": true, "ColorTonerCostHighCap": 6.1, "ColorTonerPageLifeHighCap": 7, "ColorTonerPartNumberHighCap": "sample string 8", "HighCapActive": true, "UpdateReason": "sample string 10", "InsertDate": "2025-05-14T17:10:55.5191301+00:00", "InsertUser": "sample string 12", "UpdateDate": "2025-05-14T17:10:55.5191301+00:00", "UpdateUser": "sample string 14", "ColorStarterPageLife": 15, "SupplyType": "sample string 16" }
application/xml, text/xml
Sample:
<TCOeColorTonerDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HP.TCOe.DataContract"> <ColorStarterPageLife>15</ColorStarterPageLife> <ColorTonerCostHighCap>6.1</ColorTonerCostHighCap> <ColorTonerCostStd>2.1</ColorTonerCostStd> <ColorTonerDetailID>1</ColorTonerDetailID> <ColorTonerPageLifeHighCap>7</ColorTonerPageLifeHighCap> <ColorTonerPageLifeStd>3</ColorTonerPageLifeStd> <ColorTonerPartNumberHighCap>sample string 8</ColorTonerPartNumberHighCap> <ColorTonerPartNumberStd>sample string 4</ColorTonerPartNumberStd> <HighCapActive>true</HighCapActive> <InsertDate>2025-05-14T17:10:55.5191301+00:00</InsertDate> <InsertUser>sample string 12</InsertUser> <StdActive>true</StdActive> <SupplyType>sample string 16</SupplyType> <UpdateDate>2025-05-14T17:10:55.5191301+00:00</UpdateDate> <UpdateReason>sample string 10</UpdateReason> <UpdateUser>sample string 14</UpdateUser> </TCOeColorTonerDetails>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>