Created
{
"webLink": {
"id": "4ca8dcff-5ebb-b236-ea2f-0bfbdf3c623e",
"displayName": "Bentley Communities for OpenGround",
"uri": "https://bentleysystems.service-now.com/community?id=openground_gint_keynetix_landing",
"createdDateTime": "2019-11-26T17:12:40.8516569Z",
"lastModifiedDateTime": "2019-11-26T17:14:12.3846681Z"
}
}
This response indicates that request lacks valid authentication credentials. Access token might not been provided, issued by the wrong issuer, does not have required scopes or request headers were malformed.
{
"error": {
"code": "HeaderNotFound",
"message": "Header Authorization was not found in the request. Access denied."
}
}
This response indicates that user does not have required permissions to create webLink.
{
"error": {
"code": "InsufficientPermissions",
"message": "The user has insufficient permissions for the requested operation."
}
}
WebLink with the same name already exists.
{
"error": {
"code": "WebLinkExists",
"message": "WebLink with the same name already exists."
}
}
Invalid request to create WebLink.
{
"error": {
"code": "InvalidWebLinkRequest",
"message": "Cannot perform operation.",
"details": [{
"code": "MissingRequiredProperty",
"message": "Required property is missing.",
"target": "displayName"
},
{
"code": "MissingRequiredProperty",
"message": "Required property is missing.",
"target": "uri"
},
{
"code": "InvalidValue",
"message": "Uri must be a valid web url, supported schemes are https, http and ftp.",
"target": "uri"
},
{
"code": "InvalidValue",
"message": "DisplayName is over '50' length limit.",
"target": "displayName"
},
{
"code": "InvalidValue",
"message": "DisplayName must not include these special characters. >, <, ^, $, ?, ||.",
"target": "displayName"
}
]
}
}
This response indicates that the user has sent too many requests in a given amount of time.
{
"error": {
"code": "TooManyRequests",
"message": "More requests were received than the subscription rate-limit allows."
}
}