POST api/Discover/Bookmarks
Request Information
URI Parameters
None.
Body Parameters
BookmarkModelName | Description | Type | Additional information |
---|---|---|---|
BookmarkId | string |
None. |
|
Name | string |
Required |
|
Items | Collection of BookmarkItem |
Required |
Request Formats
application/json, text/json
Sample:
{ "BookmarkId": "sample string 1", "Name": "sample string 2", "Items": [ { "Uuid": "sample string 1", "Name": "sample string 2" }, { "Uuid": "sample string 1", "Name": "sample string 2" } ] }
application/xml, text/xml
Sample:
<BookmarkModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TDR.WebApi.Models"> <BookmarkId>sample string 1</BookmarkId> <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/TDR.Entities.Db"> <d2p1:BookmarkItem> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Uuid>sample string 1</d2p1:Uuid> </d2p1:BookmarkItem> <d2p1:BookmarkItem> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Uuid>sample string 1</d2p1:Uuid> </d2p1:BookmarkItem> </Items> <Name>sample string 2</Name> </BookmarkModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BookmarkName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Assets | Collection of BookmarkItem |
None. |
|
Uuid | string |
None. |
|
OrganizationUuid | string |
None. |
|
CreatedBy | string |
None. |
|
ModifiedBy | string |
None. |
|
Hidden | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "Assets": [ { "Uuid": "sample string 1", "Name": "sample string 2" }, { "Uuid": "sample string 1", "Name": "sample string 2" } ], "Uuid": "sample string 2", "OrganizationUuid": "sample string 3", "CreatedOn": "2024-11-20T17:02:33.7436099-05:00", "CreatedBy": "sample string 6", "ModifiedOn": "2024-11-20T17:02:33.7436099-05:00", "ModifiedBy": "sample string 9", "Hidden": true }
application/xml, text/xml
Sample:
<Bookmark xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities.Db"> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities">sample string 6</CreatedBy> <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities">2024-11-20T17:02:33.7436099-05:00</CreatedOn> <CreatedOnString xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities">2024-11-20T17:02:33.7436099-05:00</CreatedOnString> <Hidden xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities">true</Hidden> <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities">sample string 9</ModifiedBy> <ModifiedOn xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities">2024-11-20T17:02:33.7436099-05:00</ModifiedOn> <ModifiedOnString xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities">2024-11-20T17:02:33.7436099-05:00</ModifiedOnString> <OrganizationUuid xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities">sample string 3</OrganizationUuid> <Uuid xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities">sample string 2</Uuid> <_id xmlns:d2p1="http://schemas.datacontract.org/2004/07/MongoDB.Bson" xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities"> <d2p1:_a>0</d2p1:_a> <d2p1:_b>0</d2p1:_b> <d2p1:_c>0</d2p1:_c> </_id> <Assets> <BookmarkItem> <Name>sample string 2</Name> <Uuid>sample string 1</Uuid> </BookmarkItem> <BookmarkItem> <Name>sample string 2</Name> <Uuid>sample string 1</Uuid> </BookmarkItem> </Assets> <Name>sample string 1</Name> </Bookmark>