POST api/Tracking
Saves the tracking element. Leave RefferalPage, RequestorIP and LogDate blank/null. They will be auto populated/overwritten by the system If RequestorName = "Users" then leave RequestorId blank Default value for RequestorName is "Users" SourcePage in header is used for the referring page. Needs to be added to the header collection upon calling Leaving the date a single character will return all results
Request Information
URI Parameters
None.
Body Parameters
TrackingName | Description | Type | Additional information |
---|---|---|---|
TrackingId | integer |
None. |
|
RequestedItem | string |
None. |
|
RequestedItemId | integer |
None. |
|
RequestorName | string |
None. |
|
RequestorId | integer |
None. |
|
LogDate | date |
None. |
|
Resource | string |
None. |
|
Details | string |
None. |
|
RequestorIP | string |
None. |
|
ReferralPage | string |
None. |
|
IndustryId | integer |
None. |
|
RequestedItemLink | string |
None. |
|
RequestedItemTags | string |
None. |
|
SectorId | integer |
None. |
|
PreviousPage | string |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{ "TrackingId": 1, "RequestedItem": "sample string 2", "RequestedItemId": 3, "RequestorName": "sample string 4", "RequestorId": 5, "LogDate": "2024-10-30T05:12:41.606309-07:00", "Resource": "sample string 7", "Details": "sample string 8", "RequestorIP": "sample string 9", "ReferralPage": "sample string 10", "IndustryId": 11, "RequestedItemLink": "sample string 12", "RequestedItemTags": "sample string 13", "SectorId": 14, "PreviousPage": "sample string 15" }
application/xml, text/xml
Sample:
<Tracking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NiceAPI.Managers"> <Details>sample string 8</Details> <IndustryId>11</IndustryId> <LogDate>2024-10-30T05:12:41.606309-07:00</LogDate> <PreviousPage>sample string 15</PreviousPage> <ReferralPage>sample string 10</ReferralPage> <RequestedItem>sample string 2</RequestedItem> <RequestedItemId>3</RequestedItemId> <RequestedItemLink>sample string 12</RequestedItemLink> <RequestedItemTags>sample string 13</RequestedItemTags> <RequestorIP>sample string 9</RequestorIP> <RequestorId>5</RequestorId> <RequestorName>sample string 4</RequestorName> <Resource>sample string 7</Resource> <SectorId>14</SectorId> <TrackingId>1</TrackingId> </Tracking>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.