POST api/sticker/duplicate

Request Information

URI Parameters

None.

Body Parameters

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

Request 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": "ddccc265-aae0-4829-b964-75b107b59aa9",
    "technicalDescription": "sample string 3",
    "active": true
  },
  "relations": [
    {
      "active": true,
      "contract_ID": "c10c1dcd-2b3b-48b5-8904-934ce46bf048",
      "contractItem_ID": "91c78096-afd1-48c7-9190-3e2b63ec4140",
      "departement_ID": "2bcb6183-e6c0-4844-93e1-d146f77056bd",
      "departmentItem_ID": "b55a8208-4415-4827-ae23-0f66bc2f5af6",
      "iD": "197b2e68-8150-46db-a680-3f0009fd98e0",
      "site_ID": "f1b000a2-8e5c-4bab-804c-00c800123273",
      "siteCustomer_ID": "ec321df2-b14a-4292-b428-45881b8c8580",
      "sticker_ID": "de1935c2-0295-468d-bc25-9f4ba37a27a8",
      "garment_ID": "d23e9e63-f22e-4d66-b232-5be45c18e73c"
    },
    {
      "active": true,
      "contract_ID": "c10c1dcd-2b3b-48b5-8904-934ce46bf048",
      "contractItem_ID": "91c78096-afd1-48c7-9190-3e2b63ec4140",
      "departement_ID": "2bcb6183-e6c0-4844-93e1-d146f77056bd",
      "departmentItem_ID": "b55a8208-4415-4827-ae23-0f66bc2f5af6",
      "iD": "197b2e68-8150-46db-a680-3f0009fd98e0",
      "site_ID": "f1b000a2-8e5c-4bab-804c-00c800123273",
      "siteCustomer_ID": "ec321df2-b14a-4292-b428-45881b8c8580",
      "sticker_ID": "de1935c2-0295-468d-bc25-9f4ba37a27a8",
      "garment_ID": "d23e9e63-f22e-4d66-b232-5be45c18e73c"
    }
  ],
  "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": "dc5a0406-63d9-4aa6-9041-fb60f1efb792",
        "isProductionSite": true,
        "isStatic": true,
        "separator": "sample string 6",
        "stickerType_ID": "bc2b47ee-1471-47d4-a1c2-cf551d9e731e",
        "technicalDescription": "sample string 8"
      },
      "active": true,
      "backgroundColor": "sample string 2",
      "bold": true,
      "fontSize": 4,
      "foregroundColor": "sample string 5",
      "id": "17a3fa92-a61b-4bd8-aad3-67b7c5954ab3",
      "italic": true,
      "staticValue": "sample string 8",
      "sticker_ID": "f6093f28-45d2-4172-ac8c-71acd0a95a9c",
      "stickerField_ID": "e7d4eeb2-3064-4fe0-aa44-4f53ae132109",
      "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": "dc5a0406-63d9-4aa6-9041-fb60f1efb792",
        "isProductionSite": true,
        "isStatic": true,
        "separator": "sample string 6",
        "stickerType_ID": "bc2b47ee-1471-47d4-a1c2-cf551d9e731e",
        "technicalDescription": "sample string 8"
      },
      "active": true,
      "backgroundColor": "sample string 2",
      "bold": true,
      "fontSize": 4,
      "foregroundColor": "sample string 5",
      "id": "17a3fa92-a61b-4bd8-aad3-67b7c5954ab3",
      "italic": true,
      "staticValue": "sample string 8",
      "sticker_ID": "f6093f28-45d2-4172-ac8c-71acd0a95a9c",
      "stickerField_ID": "e7d4eeb2-3064-4fe0-aa44-4f53ae132109",
      "stringLength": 1,
      "stringStart": 1,
      "zoneNumber": 11
    }
  ],
  "active": true,
  "code": "sample string 2",
  "id": "8364936a-c015-46eb-baef-3d534443f15a",
  "stickerType_ID": "da9f9c8c-b299-4bc2-84d8-332fb3b6d300",
  "stickerRelation_IDs": [
    "d55fcd99-aa1b-4c14-a4f2-c5de0a61ec53",
    "3e90ddd5-abac-4f0a-aacc-92f8c24a7caa"
  ],
  "site_ID": "1e8af6fa-52d6-4989-b233-e00740bcb43f"
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

globally unique identifier

Response Formats

application/json, text/json

Sample:
"3a6f2538-5f31-491e-b5f9-620d646704e3"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3a6f2538-5f31-491e-b5f9-620d646704e3</guid>