GET api/sticker/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

StickerViewModel
NameDescriptionTypeAdditional information
descriptions

Dictionary of string [key] and string [value]

None.

type

StickerTypeViewModel

None.

relations

Collection of StickerRelationViewModel

None.

details

Collection of StickerDetailViewModel

None.

active

boolean

Required

code

string

Required

Max length: 50

id

globally unique identifier

None.

stickerType_ID

globally unique identifier

Required

stickerRelation_IDs

Collection of globally unique identifier

None.

site_ID

globally unique identifier

Required

Response Formats

application/json, text/json

Sample:
{
  "descriptions": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "type": {
    "descriptions": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "code": "sample string 1",
    "id": "a22219a7-397d-41d2-8e45-2fa707bf5284",
    "technicalDescription": "sample string 3",
    "active": true
  },
  "relations": [
    {
      "active": true,
      "contract_ID": "f6d4b96d-0606-4e6c-8f5d-bbe6bc5e8417",
      "contractItem_ID": "8bfc39a3-ff7b-4e7b-92df-0cc8322b1393",
      "departement_ID": "3d8b5cef-2f33-4432-9180-0a42ac7bad48",
      "departmentItem_ID": "65cc0815-4184-4297-90b6-381760c27678",
      "iD": "c79908e5-056a-4ca7-aede-5455a3c0fc96",
      "site_ID": "e874318d-f913-4fa9-a442-7290ef40644c",
      "siteCustomer_ID": "66a81557-b128-4d2f-a17a-e88a1bd67eef",
      "sticker_ID": "a36433fe-61a6-4260-baaa-9d4e0b2c379d"
    },
    {
      "active": true,
      "contract_ID": "f6d4b96d-0606-4e6c-8f5d-bbe6bc5e8417",
      "contractItem_ID": "8bfc39a3-ff7b-4e7b-92df-0cc8322b1393",
      "departement_ID": "3d8b5cef-2f33-4432-9180-0a42ac7bad48",
      "departmentItem_ID": "65cc0815-4184-4297-90b6-381760c27678",
      "iD": "c79908e5-056a-4ca7-aede-5455a3c0fc96",
      "site_ID": "e874318d-f913-4fa9-a442-7290ef40644c",
      "siteCustomer_ID": "66a81557-b128-4d2f-a17a-e88a1bd67eef",
      "sticker_ID": "a36433fe-61a6-4260-baaa-9d4e0b2c379d"
    }
  ],
  "details": [
    {
      "stickerField": {
        "previewValue": {
          "sample string 1": "sample string 2",
          "sample string 3": "sample string 4"
        },
        "descriptions": {
          "sample string 1": "sample string 2",
          "sample string 3": "sample string 4"
        },
        "active": true,
        "code": "sample string 2",
        "id": "75c08320-5dc8-48f2-95f3-2337e86c7806",
        "isStatic": true,
        "stickerType_ID": "aff49088-7a3e-4ccf-94ef-19e549d3b216",
        "technicalDescription": "sample string 6"
      },
      "active": true,
      "backgroundColor": "sample string 2",
      "bold": true,
      "fontSize": 4,
      "foregroundColor": "sample string 5",
      "id": "138534e0-7d49-40dd-b345-3c1504a37991",
      "italic": true,
      "staticValue": "sample string 8",
      "sticker_ID": "57af0715-7efa-455c-8a4e-c1bb19ecb2e9",
      "stickerField_ID": "9170db5b-f162-4ebb-a820-f745dc16d21f",
      "stringLength": 1,
      "stringStart": 1,
      "zoneNumber": 11
    },
    {
      "stickerField": {
        "previewValue": {
          "sample string 1": "sample string 2",
          "sample string 3": "sample string 4"
        },
        "descriptions": {
          "sample string 1": "sample string 2",
          "sample string 3": "sample string 4"
        },
        "active": true,
        "code": "sample string 2",
        "id": "75c08320-5dc8-48f2-95f3-2337e86c7806",
        "isStatic": true,
        "stickerType_ID": "aff49088-7a3e-4ccf-94ef-19e549d3b216",
        "technicalDescription": "sample string 6"
      },
      "active": true,
      "backgroundColor": "sample string 2",
      "bold": true,
      "fontSize": 4,
      "foregroundColor": "sample string 5",
      "id": "138534e0-7d49-40dd-b345-3c1504a37991",
      "italic": true,
      "staticValue": "sample string 8",
      "sticker_ID": "57af0715-7efa-455c-8a4e-c1bb19ecb2e9",
      "stickerField_ID": "9170db5b-f162-4ebb-a820-f745dc16d21f",
      "stringLength": 1,
      "stringStart": 1,
      "zoneNumber": 11
    }
  ],
  "active": true,
  "code": "sample string 2",
  "id": "36f21294-3c63-43b2-aeca-a60708b7d5d1",
  "stickerType_ID": "89e22fe8-4dbf-4127-aa47-668acaf4d3d4",
  "stickerRelation_IDs": [
    "d65f116a-944b-4d0a-b2d6-dab315557964",
    "2c5cbaa1-5e6c-43d6-a40c-7bd65eda2349"
  ],
  "site_ID": "05d59ebd-afb6-4609-bb72-66c1ae106853"
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'EntityModel.StickerDetailViewModel' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'EntityModel.StickerDetailViewModel' contains cycles and cannot be serialized if reference tracking is disabled.