GET api/user/productPaths?username={username}&productIsbn={productIsbn}
Returns paths between user and product
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| username |
Username |
string |
Required |
| productIsbn |
Product isbn |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
UserProductPathDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Nodes | Collection of UserProductNodeDto |
None. |
|
| Links | Collection of UserProductLinkDto |
None. |
Response Formats
application/json, text/json
Sample:
{
"Nodes": [
{
"Id": "123f6382-01f7-4c31-b281-651ca4e5a0de",
"NodeType": "sample string 2",
"NodeProperties": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
}
},
{
"Id": "123f6382-01f7-4c31-b281-651ca4e5a0de",
"NodeType": "sample string 2",
"NodeProperties": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
}
}
],
"Links": [
{
"Source": "47ef25c5-53dd-4b9a-b1bc-5a6a7ea48c04",
"Target": "dcce3317-af0c-49e3-8c08-d4f72d5e2514"
},
{
"Source": "47ef25c5-53dd-4b9a-b1bc-5a6a7ea48c04",
"Target": "dcce3317-af0c-49e3-8c08-d4f72d5e2514"
}
]
}
application/xml, text/xml
Sample:
<UserProductPathDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Dtos.UserProducts">
<Links>
<UserProductLinkDto>
<Source>47ef25c5-53dd-4b9a-b1bc-5a6a7ea48c04</Source>
<Target>dcce3317-af0c-49e3-8c08-d4f72d5e2514</Target>
</UserProductLinkDto>
<UserProductLinkDto>
<Source>47ef25c5-53dd-4b9a-b1bc-5a6a7ea48c04</Source>
<Target>dcce3317-af0c-49e3-8c08-d4f72d5e2514</Target>
</UserProductLinkDto>
</Links>
<Nodes>
<UserProductNodeDto>
<Id>123f6382-01f7-4c31-b281-651ca4e5a0de</Id>
<NodeProperties xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:KeyValueOfstringstring>
<d4p1:Key>sample string 1</d4p1:Key>
<d4p1:Value>sample string 2</d4p1:Value>
</d4p1:KeyValueOfstringstring>
<d4p1:KeyValueOfstringstring>
<d4p1:Key>sample string 3</d4p1:Key>
<d4p1:Value>sample string 4</d4p1:Value>
</d4p1:KeyValueOfstringstring>
</NodeProperties>
<NodeType>sample string 2</NodeType>
</UserProductNodeDto>
<UserProductNodeDto>
<Id>123f6382-01f7-4c31-b281-651ca4e5a0de</Id>
<NodeProperties xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:KeyValueOfstringstring>
<d4p1:Key>sample string 1</d4p1:Key>
<d4p1:Value>sample string 2</d4p1:Value>
</d4p1:KeyValueOfstringstring>
<d4p1:KeyValueOfstringstring>
<d4p1:Key>sample string 3</d4p1:Key>
<d4p1:Value>sample string 4</d4p1:Value>
</d4p1:KeyValueOfstringstring>
</NodeProperties>
<NodeType>sample string 2</NodeType>
</UserProductNodeDto>
</Nodes>
</UserProductPathDto>