| GET | /v4/short-links |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BaseCode | query | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Result | form | ShortLink | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BaseCode | form | string | No | |
| Domain | form | string | No | |
| Username | form | string | No | |
| AffiliateTokensSet | form | Guid? | No | |
| Metadata | form | RefreshableMetadata | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CreatedDate | form | DateTime | No | |
| UpdatedDate | form | DateTime | 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.
GET /v4/short-links HTTP/1.1 Host: shortlinks-api.qa.platform.georiot.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
result:
{
baseCode: String,
domain: String,
username: String,
affiliateTokensSet: 00000000000000000000000000000000,
metadata:
{
createdDate: 0001-01-01,
updatedDate: 0001-01-01
}
},
responseStatus:
{
errorCode: String,
message: String,
stackTrace: String,
errors:
[
{
errorCode: String,
fieldName: String,
message: String,
meta:
{
String: String
}
}
],
meta:
{
String: String
}
}
}