POST api/sticker/getAll

Request Information

URI Parameters

None.

Body Parameters

SearchParamsViewModel
NameDescriptionTypeAdditional information
active

boolean

None.

firstElementIndex

integer

None.

id

globally unique identifier

None.

site_id

globally unique identifier

None.

keywords

string

None.

numberOfElements

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "active": true,
  "firstElementIndex": 1,
  "id": "4941ba30-a08b-4d98-80b8-1491b218e133",
  "site_id": "25444271-934b-4981-9805-2fa9b0c4c3ee",
  "keywords": "sample string 1",
  "numberOfElements": 1
}

application/xml, text/xml

Sample:
<searchParamsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
  <active>true</active>
  <firstElementIndex>1</firstElementIndex>
  <id>4941ba30-a08b-4d98-80b8-1491b218e133</id>
  <keywords>sample string 1</keywords>
  <numberOfElements>1</numberOfElements>
  <site_id>25444271-934b-4981-9805-2fa9b0c4c3ee</site_id>
</searchParamsViewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SearchParamsViewModel'.

Response Information

Resource Description

PaginationResultViewModelOfListOfStickerViewModel
NameDescriptionTypeAdditional information
data

Collection of StickerViewModel

None.

totalRecord

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "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": "86e0c3f2-57f5-470e-aa2a-2e0c1ecddff8",
        "technicalDescription": "sample string 3",
        "active": true
      },
      "relations": [
        {
          "active": true,
          "contract_ID": "df28dcf8-a59b-42aa-bb55-f283552a3b70",
          "contractItem_ID": "20493c32-8fad-408a-b301-b2f6fab4b5b1",
          "departement_ID": "95b0c133-77f6-495c-a13f-f1dc5953a6a5",
          "departmentItem_ID": "d1deed00-1958-460d-9553-e5d9a23fa6cd",
          "iD": "c0e57142-824e-4459-aba9-3c9889c09877",
          "site_ID": "19588f4e-f75e-4b5d-8f42-2059633b775d",
          "siteCustomer_ID": "3e7fa742-6b46-43b3-bcb3-60b3597a300f",
          "sticker_ID": "e70f0aac-1346-4537-a26c-6242e7fb9d0d"
        },
        {
          "active": true,
          "contract_ID": "df28dcf8-a59b-42aa-bb55-f283552a3b70",
          "contractItem_ID": "20493c32-8fad-408a-b301-b2f6fab4b5b1",
          "departement_ID": "95b0c133-77f6-495c-a13f-f1dc5953a6a5",
          "departmentItem_ID": "d1deed00-1958-460d-9553-e5d9a23fa6cd",
          "iD": "c0e57142-824e-4459-aba9-3c9889c09877",
          "site_ID": "19588f4e-f75e-4b5d-8f42-2059633b775d",
          "siteCustomer_ID": "3e7fa742-6b46-43b3-bcb3-60b3597a300f",
          "sticker_ID": "e70f0aac-1346-4537-a26c-6242e7fb9d0d"
        }
      ],
      "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": "d2f4f433-7351-4976-8f73-05f038bb2bba",
            "isStatic": true,
            "stickerType_ID": "9951a53e-4780-4b68-8622-65cdf44b50ba",
            "technicalDescription": "sample string 6"
          },
          "active": true,
          "backgroundColor": "sample string 2",
          "bold": true,
          "fontSize": 4,
          "foregroundColor": "sample string 5",
          "id": "d2863458-0349-4a98-8e9f-2eb3fde9fd9c",
          "italic": true,
          "staticValue": "sample string 8",
          "sticker_ID": "f973f551-9710-4b1d-b97c-74a6a4bb5340",
          "stickerField_ID": "426b37fe-95d3-4dc5-849c-a3a8cd7492d6",
          "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": "d2f4f433-7351-4976-8f73-05f038bb2bba",
            "isStatic": true,
            "stickerType_ID": "9951a53e-4780-4b68-8622-65cdf44b50ba",
            "technicalDescription": "sample string 6"
          },
          "active": true,
          "backgroundColor": "sample string 2",
          "bold": true,
          "fontSize": 4,
          "foregroundColor": "sample string 5",
          "id": "d2863458-0349-4a98-8e9f-2eb3fde9fd9c",
          "italic": true,
          "staticValue": "sample string 8",
          "sticker_ID": "f973f551-9710-4b1d-b97c-74a6a4bb5340",
          "stickerField_ID": "426b37fe-95d3-4dc5-849c-a3a8cd7492d6",
          "stringLength": 1,
          "stringStart": 1,
          "zoneNumber": 11
        }
      ],
      "active": true,
      "code": "sample string 2",
      "id": "b1e6c2a4-b793-4ff4-b79c-d46d63ba81e4",
      "stickerType_ID": "ecb09e9c-747e-46e9-bbb1-6ff571b55cd5",
      "stickerRelation_IDs": [
        "0b5d1454-2845-482d-b5df-e24e61dffaa7",
        "c4206592-7251-44ed-8e97-4bf6a0c22704"
      ],
      "site_ID": "8cfae4c4-a5f9-42c8-a687-b90ce4a38498"
    },
    {
      "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": "86e0c3f2-57f5-470e-aa2a-2e0c1ecddff8",
        "technicalDescription": "sample string 3",
        "active": true
      },
      "relations": [
        {
          "active": true,
          "contract_ID": "df28dcf8-a59b-42aa-bb55-f283552a3b70",
          "contractItem_ID": "20493c32-8fad-408a-b301-b2f6fab4b5b1",
          "departement_ID": "95b0c133-77f6-495c-a13f-f1dc5953a6a5",
          "departmentItem_ID": "d1deed00-1958-460d-9553-e5d9a23fa6cd",
          "iD": "c0e57142-824e-4459-aba9-3c9889c09877",
          "site_ID": "19588f4e-f75e-4b5d-8f42-2059633b775d",
          "siteCustomer_ID": "3e7fa742-6b46-43b3-bcb3-60b3597a300f",
          "sticker_ID": "e70f0aac-1346-4537-a26c-6242e7fb9d0d"
        },
        {
          "active": true,
          "contract_ID": "df28dcf8-a59b-42aa-bb55-f283552a3b70",
          "contractItem_ID": "20493c32-8fad-408a-b301-b2f6fab4b5b1",
          "departement_ID": "95b0c133-77f6-495c-a13f-f1dc5953a6a5",
          "departmentItem_ID": "d1deed00-1958-460d-9553-e5d9a23fa6cd",
          "iD": "c0e57142-824e-4459-aba9-3c9889c09877",
          "site_ID": "19588f4e-f75e-4b5d-8f42-2059633b775d",
          "siteCustomer_ID": "3e7fa742-6b46-43b3-bcb3-60b3597a300f",
          "sticker_ID": "e70f0aac-1346-4537-a26c-6242e7fb9d0d"
        }
      ],
      "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": "d2f4f433-7351-4976-8f73-05f038bb2bba",
            "isStatic": true,
            "stickerType_ID": "9951a53e-4780-4b68-8622-65cdf44b50ba",
            "technicalDescription": "sample string 6"
          },
          "active": true,
          "backgroundColor": "sample string 2",
          "bold": true,
          "fontSize": 4,
          "foregroundColor": "sample string 5",
          "id": "d2863458-0349-4a98-8e9f-2eb3fde9fd9c",
          "italic": true,
          "staticValue": "sample string 8",
          "sticker_ID": "f973f551-9710-4b1d-b97c-74a6a4bb5340",
          "stickerField_ID": "426b37fe-95d3-4dc5-849c-a3a8cd7492d6",
          "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": "d2f4f433-7351-4976-8f73-05f038bb2bba",
            "isStatic": true,
            "stickerType_ID": "9951a53e-4780-4b68-8622-65cdf44b50ba",
            "technicalDescription": "sample string 6"
          },
          "active": true,
          "backgroundColor": "sample string 2",
          "bold": true,
          "fontSize": 4,
          "foregroundColor": "sample string 5",
          "id": "d2863458-0349-4a98-8e9f-2eb3fde9fd9c",
          "italic": true,
          "staticValue": "sample string 8",
          "sticker_ID": "f973f551-9710-4b1d-b97c-74a6a4bb5340",
          "stickerField_ID": "426b37fe-95d3-4dc5-849c-a3a8cd7492d6",
          "stringLength": 1,
          "stringStart": 1,
          "zoneNumber": 11
        }
      ],
      "active": true,
      "code": "sample string 2",
      "id": "b1e6c2a4-b793-4ff4-b79c-d46d63ba81e4",
      "stickerType_ID": "ecb09e9c-747e-46e9-bbb1-6ff571b55cd5",
      "stickerRelation_IDs": [
        "0b5d1454-2845-482d-b5df-e24e61dffaa7",
        "c4206592-7251-44ed-8e97-4bf6a0c22704"
      ],
      "site_ID": "8cfae4c4-a5f9-42c8-a687-b90ce4a38498"
    }
  ],
  "totalRecord": 1
}

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.StickerViewModel' 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.StickerViewModel' contains cycles and cannot be serialized if reference tracking is disabled.