API

Collaboration APIs

POST collaboration/tasks/{taskId}/related-urls

Creates an URL related to the task.

HTTP method POST
URI https://api.rambase.net/collaboration/tasks/{taskId}/related-urls
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {taskId} Unique task identifier
Integer, minimum 100000
Successful HTTP status code 201
API resource identifier 6101, version 3

The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.

Format:
1
<RelatedUrl>
2
     <Url
Url

Required/mandatory field

Uniform Resource Locator

Input must match the following regular expression pattern: ^(https?:\/\/)?[a-zA-Z0-9]+(\.[a-zA-Z0-9]+)+(\/.*)?$

>
{String}</Url>
3
     <Name
Name

Name of URL

This field is optional.

>
{String}</Name>
4
</RelatedUrl>
1
{
2
     "relatedUrl": {
3
          "url
Url

Required/mandatory field

Uniform Resource Locator

Input must match the following regular expression pattern: ^(https?:\/\/)?[a-zA-Z0-9]+(\.[a-zA-Z0-9]+)+(\/.*)?$

":
"{String}",
4
          "name
Name

Name of URL

This field is optional.

":
"{String}"
5
     }
6
}

The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.

$access_token String, optional After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time.
$db String, optional Set the database/company for the request
$useMinimumVersion Integer, optional Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information.
$lang String, optional Specifies the language used in the response, following the 3-letter ISO-639-1 [lll]

Read more about filters and sorting on how to use filter parameters and named filters.

Read more about filters and sorting on how to use sortable parameters

Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields.

Please note that some fields may be removed from the response, based on user roles/duties/permissions.

Format:
1
<RelatedUrl>
2
     <RelatedUrlId
RelatedUrlId

URL identifier

>
{Integer}</RelatedUrlId>
3
     <Name
Name

Name of URL

>
{String}</Name>
4
     <Url
Url

Uniform Resource Locator

>
{String}</Url>
5
     <CreatedAt
CreatedAt

Date and time of creation

>
{Datetime}</CreatedAt>
6
     <UpdatedAt
UpdatedAt

Date and time of update

>
7
          <UserId
UserId

User identifier

>
{Integer}</UserId>
8
          <FirstName
FirstName

First name of the user

>
{String}</FirstName>
9
          <Name
Name

Name of the user

>
{String}</Name>
10
          <UserLink
UserLink

User reference

>
{String}</UserLink>
11
          <UserId
UserId

User identifier

>
{Integer}</UserId>
12
          <FirstName
FirstName

First name of the user

>
{String}</FirstName>
13
          <Name
Name

Name of the user

>
{String}</Name>
14
          <UserLink
UserLink

User reference

>
{String}</UserLink>
15
     </UpdatedAt>
16
</RelatedUrl>
1
{
2
     "relatedUrl": {
3
          "relatedUrlId
RelatedUrlId

URL identifier

":
"{Integer}",
4
          "name
Name

Name of URL

":
"{String}",
5
          "url
Url

Uniform Resource Locator

":
"{String}",
6
          "createdAt
CreatedAt

Date and time of creation

":
"{Datetime}",
7
          "updatedAt
UpdatedAt

Date and time of update

":
{
8
               "userId
UserId

User identifier

":
"{Integer}",
9
               "firstName
FirstName

First name of the user

":
"{String}",
10
               "name
Name

Name of the user

":
"{String}",
11
               "userLink
UserLink

User reference

":
"{String}",
12
               "userId
UserId

User identifier

":
"{Integer}",
13
               "firstName
FirstName

First name of the user

":
"{String}",
14
               "name
Name

Name of the user

":
"{String}",
15
               "userLink
UserLink

User reference

":
"{String}"
16
          }
17
     }
18
}

List of available operations/actions for this resource.
See the operations documentation for more information about API operations.

Possible error codes the response might return:

Error 101606 HTTP 404 Module not found
Error 101551 HTTP 404 Object {0} not found