POST api/Logging/AddTracker
Request Information
URI Parameters
None.
Body Parameters
TrackerRequestName | Description | Type | Additional information |
---|---|---|---|
TrackerTypeId | integer |
None. |
|
TrackerCount | integer |
None. |
|
CustomerId | integer |
None. |
|
LunchboxId | integer |
None. |
|
LunchcartId | integer |
None. |
|
TrackerAction | string |
None. |
|
TrackerResult | string |
None. |
|
TrackerInt | integer |
None. |
|
TrackerDateTime | date |
None. |
|
TrackerBool | boolean |
None. |
|
TrackerDecimal | decimal number |
None. |
|
TrackerNotes | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "TrackerTypeId": 1, "TrackerCount": 1, "CustomerId": 1, "LunchboxId": 1, "LunchcartId": 1, "TrackerAction": "sample string 2", "TrackerResult": "sample string 3", "TrackerInt": 1, "TrackerDateTime": "2024-11-20T00:44:26.9675374-08:00", "TrackerBool": true, "TrackerDecimal": 1.0, "TrackerNotes": "sample string 4" }
text/html
Sample:
{"TrackerTypeId":1,"TrackerCount":1,"CustomerId":1,"LunchboxId":1,"LunchcartId":1,"TrackerAction":"sample string 2","TrackerResult":"sample string 3","TrackerInt":1,"TrackerDateTime":"2024-11-20T00:44:26.9675374-08:00","TrackerBool":true,"TrackerDecimal":1.0,"TrackerNotes":"sample string 4"}
application/xml, text/xml
Sample:
<TrackerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Specialtys.DTO.Request"> <CustomerId>1</CustomerId> <LunchboxId>1</LunchboxId> <LunchcartId>1</LunchcartId> <TrackerAction>sample string 2</TrackerAction> <TrackerBool>true</TrackerBool> <TrackerCount>1</TrackerCount> <TrackerDateTime>2024-11-20T00:44:26.9675374-08:00</TrackerDateTime> <TrackerDecimal>1</TrackerDecimal> <TrackerInt>1</TrackerInt> <TrackerNotes>sample string 4</TrackerNotes> <TrackerResult>sample string 3</TrackerResult> <TrackerTypeId>1</TrackerTypeId> </TrackerRequest>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.