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": "b8bc750b-709f-41cd-8594-10b8e41abd22",
  "site_id": "9a32d6cb-ebd1-4fe0-9856-22031b02d524",
  "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>b8bc750b-709f-41cd-8594-10b8e41abd22</id>
  <keywords>sample string 1</keywords>
  <numberOfElements>1</numberOfElements>
  <site_id>9a32d6cb-ebd1-4fe0-9856-22031b02d524</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": "8bec904c-69a8-4037-ad87-e6b39774b035",
        "technicalDescription": "sample string 3",
        "active": true
      },
      "relations": [
        {
          "active": true,
          "contract_ID": "d65d064c-7c3a-4316-a053-8c5435dd2f0c",
          "contractItem_ID": "597d4ec5-5e35-4fde-adc3-585b8e6009ff",
          "departement_ID": "bf7c48aa-1e48-4d7d-9f47-339072f129ef",
          "departmentItem_ID": "c1f9153c-707a-47db-b0ac-8253709e0444",
          "iD": "f5d04ff4-6816-4c25-8b46-a14b36120e0f",
          "site_ID": "6b1647e9-8c6c-46b0-94dd-22745e4301e4",
          "siteCustomer_ID": "fe5dab49-a824-4700-88e3-ab931c69c049",
          "sticker_ID": "b30f806c-c076-440e-afcd-0bbc61057def"
        },
        {
          "active": true,
          "contract_ID": "d65d064c-7c3a-4316-a053-8c5435dd2f0c",
          "contractItem_ID": "597d4ec5-5e35-4fde-adc3-585b8e6009ff",
          "departement_ID": "bf7c48aa-1e48-4d7d-9f47-339072f129ef",
          "departmentItem_ID": "c1f9153c-707a-47db-b0ac-8253709e0444",
          "iD": "f5d04ff4-6816-4c25-8b46-a14b36120e0f",
          "site_ID": "6b1647e9-8c6c-46b0-94dd-22745e4301e4",
          "siteCustomer_ID": "fe5dab49-a824-4700-88e3-ab931c69c049",
          "sticker_ID": "b30f806c-c076-440e-afcd-0bbc61057def"
        }
      ],
      "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": "7a81ff09-1df8-4d27-a0ed-685553cd7139",
            "isStatic": true,
            "stickerType_ID": "e27dc0ad-0f6d-436e-882b-b82dc59a2bc3",
            "technicalDescription": "sample string 6"
          },
          "active": true,
          "backgroundColor": "sample string 2",
          "bold": true,
          "fontSize": 4,
          "foregroundColor": "sample string 5",
          "id": "ac6e0ad0-533d-4106-a15c-c484cc4a596c",
          "italic": true,
          "staticValue": "sample string 8",
          "sticker_ID": "26a2c3a8-3a06-4c5d-b966-676322f0c040",
          "stickerField_ID": "feb06685-9b58-4236-8b6b-1d60fb757148",
          "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": "7a81ff09-1df8-4d27-a0ed-685553cd7139",
            "isStatic": true,
            "stickerType_ID": "e27dc0ad-0f6d-436e-882b-b82dc59a2bc3",
            "technicalDescription": "sample string 6"
          },
          "active": true,
          "backgroundColor": "sample string 2",
          "bold": true,
          "fontSize": 4,
          "foregroundColor": "sample string 5",
          "id": "ac6e0ad0-533d-4106-a15c-c484cc4a596c",
          "italic": true,
          "staticValue": "sample string 8",
          "sticker_ID": "26a2c3a8-3a06-4c5d-b966-676322f0c040",
          "stickerField_ID": "feb06685-9b58-4236-8b6b-1d60fb757148",
          "stringLength": 1,
          "stringStart": 1,
          "zoneNumber": 11
        }
      ],
      "active": true,
      "code": "sample string 2",
      "id": "3b6bcfd8-6e44-48f1-93a7-cd5db9265b96",
      "stickerType_ID": "86f89aca-ab43-4f81-b9bb-0d9312f1de07",
      "stickerRelation_IDs": [
        "bf069bb8-7b58-4a39-a4ef-0e8877b504d1",
        "9f091d8c-414d-4b08-8de7-8a113c14b477"
      ],
      "site_ID": "5f13a7ae-30b0-453b-ad20-067972490137"
    },
    {
      "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": "8bec904c-69a8-4037-ad87-e6b39774b035",
        "technicalDescription": "sample string 3",
        "active": true
      },
      "relations": [
        {
          "active": true,
          "contract_ID": "d65d064c-7c3a-4316-a053-8c5435dd2f0c",
          "contractItem_ID": "597d4ec5-5e35-4fde-adc3-585b8e6009ff",
          "departement_ID": "bf7c48aa-1e48-4d7d-9f47-339072f129ef",
          "departmentItem_ID": "c1f9153c-707a-47db-b0ac-8253709e0444",
          "iD": "f5d04ff4-6816-4c25-8b46-a14b36120e0f",
          "site_ID": "6b1647e9-8c6c-46b0-94dd-22745e4301e4",
          "siteCustomer_ID": "fe5dab49-a824-4700-88e3-ab931c69c049",
          "sticker_ID": "b30f806c-c076-440e-afcd-0bbc61057def"
        },
        {
          "active": true,
          "contract_ID": "d65d064c-7c3a-4316-a053-8c5435dd2f0c",
          "contractItem_ID": "597d4ec5-5e35-4fde-adc3-585b8e6009ff",
          "departement_ID": "bf7c48aa-1e48-4d7d-9f47-339072f129ef",
          "departmentItem_ID": "c1f9153c-707a-47db-b0ac-8253709e0444",
          "iD": "f5d04ff4-6816-4c25-8b46-a14b36120e0f",
          "site_ID": "6b1647e9-8c6c-46b0-94dd-22745e4301e4",
          "siteCustomer_ID": "fe5dab49-a824-4700-88e3-ab931c69c049",
          "sticker_ID": "b30f806c-c076-440e-afcd-0bbc61057def"
        }
      ],
      "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": "7a81ff09-1df8-4d27-a0ed-685553cd7139",
            "isStatic": true,
            "stickerType_ID": "e27dc0ad-0f6d-436e-882b-b82dc59a2bc3",
            "technicalDescription": "sample string 6"
          },
          "active": true,
          "backgroundColor": "sample string 2",
          "bold": true,
          "fontSize": 4,
          "foregroundColor": "sample string 5",
          "id": "ac6e0ad0-533d-4106-a15c-c484cc4a596c",
          "italic": true,
          "staticValue": "sample string 8",
          "sticker_ID": "26a2c3a8-3a06-4c5d-b966-676322f0c040",
          "stickerField_ID": "feb06685-9b58-4236-8b6b-1d60fb757148",
          "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": "7a81ff09-1df8-4d27-a0ed-685553cd7139",
            "isStatic": true,
            "stickerType_ID": "e27dc0ad-0f6d-436e-882b-b82dc59a2bc3",
            "technicalDescription": "sample string 6"
          },
          "active": true,
          "backgroundColor": "sample string 2",
          "bold": true,
          "fontSize": 4,
          "foregroundColor": "sample string 5",
          "id": "ac6e0ad0-533d-4106-a15c-c484cc4a596c",
          "italic": true,
          "staticValue": "sample string 8",
          "sticker_ID": "26a2c3a8-3a06-4c5d-b966-676322f0c040",
          "stickerField_ID": "feb06685-9b58-4236-8b6b-1d60fb757148",
          "stringLength": 1,
          "stringStart": 1,
          "zoneNumber": 11
        }
      ],
      "active": true,
      "code": "sample string 2",
      "id": "3b6bcfd8-6e44-48f1-93a7-cd5db9265b96",
      "stickerType_ID": "86f89aca-ab43-4f81-b9bb-0d9312f1de07",
      "stickerRelation_IDs": [
        "bf069bb8-7b58-4a39-a4ef-0e8877b504d1",
        "9f091d8c-414d-4b08-8de7-8a113c14b477"
      ],
      "site_ID": "5f13a7ae-30b0-453b-ad20-067972490137"
    }
  ],
  "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.