All Verbs | /service/SyncMediaTags | ||
---|---|---|---|
All Verbs | /service/SyncMediaTags/{Realm} |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
MediaIds | query | int[] | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PredecessorId | form | int? | No | |
ReplacePredecessor | form | bool | No | |
ContentType | form | string | No | |
Predecessor | form | Media | No | |
Realm | form | string | No | |
Height | form | double | No | |
Width | form | double | No | |
Area | form | double | No | |
ContentLength | form | double | No | |
ClientId | form | string | No | |
Url | form | string | No | |
OriginalUrl | form | string | No | |
Images | form | Dictionary<string, string> | No | |
Key | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Tags | form | Dictionary<string, HashSet<String>> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RefId | form | string | No | |
Rating | form | double | No | |
Restricted | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Description | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Label | form | string | No | |
Name | form | string | No | |
Title | form | string | No | |
Active | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Euid | form | Guid | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | T | No | |
CreatedBy | form | string | No | |
CreatedOn | form | DateTime | No | |
LastModifiedOn | form | DateTime | No | |
LastModifiedBy | form | string | No | |
Position | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Messages | form | List<string> | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /service/SyncMediaTags HTTP/1.1
Host: www.bernhardthospitality.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
mediaIds:
[
0
],
predecessorId: 0,
replacePredecessor: False,
contentType: String,
predecessor:
{
predecessorId: 0,
replacePredecessor: False,
contentType: String,
predecessor:
{
predecessorId: 0,
replacePredecessor: False,
contentType: String,
predecessor:
{
predecessorId: 0,
replacePredecessor: False,
contentType: String,
realm: String,
height: 0,
width: 0,
area: 0,
contentLength: 0,
clientId: String,
url: String,
originalUrl: String,
key: String,
tags:
{
String:
[
String
]
},
refId: String,
rating: 0,
restricted: False,
description: String,
label: String,
active: False,
id: 0,
createdBy: String,
createdOn: 0001-01-01,
lastModifiedOn: 0001-01-01,
lastModifiedBy: String,
position: 0
},
realm: String,
height: 0,
width: 0,
area: 0,
contentLength: 0,
clientId: String,
url: String,
originalUrl: String,
key: String,
tags:
{
String:
[
String
]
},
refId: String,
rating: 0,
restricted: False,
description: String,
label: String,
active: False,
id: 0,
createdBy: String,
createdOn: 0001-01-01,
lastModifiedOn: 0001-01-01,
lastModifiedBy: String,
position: 0
},
realm: String,
height: 0,
width: 0,
area: 0,
contentLength: 0,
clientId: String,
url: String,
originalUrl: String,
key: String,
tags:
{
String:
[
String
]
},
refId: String,
rating: 0,
restricted: False,
description: String,
label: String,
active: False,
id: 0,
createdBy: String,
createdOn: 0001-01-01,
lastModifiedOn: 0001-01-01,
lastModifiedBy: String,
position: 0
},
realm: String,
height: 0,
width: 0,
area: 0,
contentLength: 0,
clientId: String,
url: String,
originalUrl: String,
key: String,
tags:
{
String:
[
String
]
},
refId: String,
rating: 0,
restricted: False,
description: String,
label: String,
active: False,
id: 0,
createdBy: String,
createdOn: 0001-01-01,
lastModifiedOn: 0001-01-01,
lastModifiedBy: String,
position: 0
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { messages: [ String ] }