GET api/users/{userId}/trackingScripts/{scriptId}
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
userId | No documentation available. |
Define this parameter in the request URI. |
scriptId | No documentation available. |
Define this parameter in the request URI. |
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{ "result": { "name": "sample string 1", "externalId": "sample string 2", "customScript": "sample string 3", "deleted": true, "userId": 5, "trackNewEvents": true, "trackingTypeId": 7, "organisers": [ { "1": "sample string 2", "3": "sample string 4", "5": "sample string 6" }, { "1": "sample string 2", "3": "sample string 4", "5": "sample string 6" }, { "1": "sample string 2", "3": "sample string 4", "5": "sample string 6" } ], "products": [ { "1": "sample string 2", "3": "sample string 4", "5": "sample string 6" }, { "1": "sample string 2", "3": "sample string 4", "5": "sample string 6" }, { "1": "sample string 2", "3": "sample string 4", "5": "sample string 6" } ], "pageTypes": [ 1, 2, 3 ] }, "extras": { "sample string 1": "sample string 2", "sample string 3": "sample string 4", "sample string 5": "sample string 6" }, "message": "sample string 1", "statusCode": 2 }
text/xml
Sample:
<SingleItemResultOfUserService.TrackingScriptDTO_SSxyqpV3 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Base"> <message>sample string 1</message> <statusCode>2</statusCode> <extras xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value>sample string 4</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 5</d2p1:Key> <d2p1:Value>sample string 6</d2p1:Value> </d2p1:KeyValueOfstringstring> </extras> <result xmlns:d2p1="http://schemas.datacontract.org/2004/07/GP.BusinessLogic.Users"> <d2p1:customScript>sample string 3</d2p1:customScript> <d2p1:deleted>true</d2p1:deleted> <d2p1:externalId>sample string 2</d2p1:externalId> <d2p1:name>sample string 1</d2p1:name> <d2p1:organisers xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:ArrayOfKeyValueOfintstring> <d3p1:KeyValueOfintstring> <d3p1:Key>1</d3p1:Key> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:KeyValueOfintstring> <d3p1:KeyValueOfintstring> <d3p1:Key>3</d3p1:Key> <d3p1:Value>sample string 4</d3p1:Value> </d3p1:KeyValueOfintstring> <d3p1:KeyValueOfintstring> <d3p1:Key>5</d3p1:Key> <d3p1:Value>sample string 6</d3p1:Value> </d3p1:KeyValueOfintstring> </d3p1:ArrayOfKeyValueOfintstring> <d3p1:ArrayOfKeyValueOfintstring> <d3p1:KeyValueOfintstring> <d3p1:Key>1</d3p1:Key> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:KeyValueOfintstring> <d3p1:KeyValueOfintstring> <d3p1:Key>3</d3p1:Key> <d3p1:Value>sample string 4</d3p1:Value> </d3p1:KeyValueOfintstring> <d3p1:KeyValueOfintstring> <d3p1:Key>5</d3p1:Key> <d3p1:Value>sample string 6</d3p1:Value> </d3p1:KeyValueOfintstring> </d3p1:ArrayOfKeyValueOfintstring> <d3p1:ArrayOfKeyValueOfintstring> <d3p1:KeyValueOfintstring> <d3p1:Key>1</d3p1:Key> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:KeyValueOfintstring> <d3p1:KeyValueOfintstring> <d3p1:Key>3</d3p1:Key> <d3p1:Value>sample string 4</d3p1:Value> </d3p1:KeyValueOfintstring> <d3p1:KeyValueOfintstring> <d3p1:Key>5</d3p1:Key> <d3p1:Value>sample string 6</d3p1:Value> </d3p1:KeyValueOfintstring> </d3p1:ArrayOfKeyValueOfintstring> </d2p1:organisers> <d2p1:pageTypes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> <d3p1:int>3</d3p1:int> </d2p1:pageTypes> <d2p1:products xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:ArrayOfKeyValueOfintstring> <d3p1:KeyValueOfintstring> <d3p1:Key>1</d3p1:Key> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:KeyValueOfintstring> <d3p1:KeyValueOfintstring> <d3p1:Key>3</d3p1:Key> <d3p1:Value>sample string 4</d3p1:Value> </d3p1:KeyValueOfintstring> <d3p1:KeyValueOfintstring> <d3p1:Key>5</d3p1:Key> <d3p1:Value>sample string 6</d3p1:Value> </d3p1:KeyValueOfintstring> </d3p1:ArrayOfKeyValueOfintstring> <d3p1:ArrayOfKeyValueOfintstring> <d3p1:KeyValueOfintstring> <d3p1:Key>1</d3p1:Key> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:KeyValueOfintstring> <d3p1:KeyValueOfintstring> <d3p1:Key>3</d3p1:Key> <d3p1:Value>sample string 4</d3p1:Value> </d3p1:KeyValueOfintstring> <d3p1:KeyValueOfintstring> <d3p1:Key>5</d3p1:Key> <d3p1:Value>sample string 6</d3p1:Value> </d3p1:KeyValueOfintstring> </d3p1:ArrayOfKeyValueOfintstring> <d3p1:ArrayOfKeyValueOfintstring> <d3p1:KeyValueOfintstring> <d3p1:Key>1</d3p1:Key> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:KeyValueOfintstring> <d3p1:KeyValueOfintstring> <d3p1:Key>3</d3p1:Key> <d3p1:Value>sample string 4</d3p1:Value> </d3p1:KeyValueOfintstring> <d3p1:KeyValueOfintstring> <d3p1:Key>5</d3p1:Key> <d3p1:Value>sample string 6</d3p1:Value> </d3p1:KeyValueOfintstring> </d3p1:ArrayOfKeyValueOfintstring> </d2p1:products> <d2p1:trackNewEvents>true</d2p1:trackNewEvents> <d2p1:trackingTypeId>7</d2p1:trackingTypeId> <d2p1:userId>5</d2p1:userId> </result> </SingleItemResultOfUserService.TrackingScriptDTO_SSxyqpV3>