POST api/sticker/duplicate
Request Information
URI Parameters
None.
Body Parameters
StickerViewModel| Name | Description | Type | Additional 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": "461d9b47-c6b4-4634-8f8b-ddf7320c863e",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "77b89d41-a4bc-40a2-aed9-664d7540539a",
"contractItem_ID": "30188d9a-9b13-48be-9ed8-b73ce22f01ae",
"departement_ID": "9dac6db7-49ae-46fc-b3ad-3a43286d1247",
"departmentItem_ID": "665a95b0-cfc3-4003-a27a-13d56ec6eda1",
"iD": "62a118d9-ae1c-4810-9996-593a884e5441",
"site_ID": "df9ca26d-1d2c-413d-a9fa-18662db1f0c8",
"siteCustomer_ID": "8a0a1bdf-ebd1-46de-a39f-6c96f53682f7",
"sticker_ID": "f8e369b4-8eba-432f-8f52-fa1340d78cde"
},
{
"active": true,
"contract_ID": "77b89d41-a4bc-40a2-aed9-664d7540539a",
"contractItem_ID": "30188d9a-9b13-48be-9ed8-b73ce22f01ae",
"departement_ID": "9dac6db7-49ae-46fc-b3ad-3a43286d1247",
"departmentItem_ID": "665a95b0-cfc3-4003-a27a-13d56ec6eda1",
"iD": "62a118d9-ae1c-4810-9996-593a884e5441",
"site_ID": "df9ca26d-1d2c-413d-a9fa-18662db1f0c8",
"siteCustomer_ID": "8a0a1bdf-ebd1-46de-a39f-6c96f53682f7",
"sticker_ID": "f8e369b4-8eba-432f-8f52-fa1340d78cde"
}
],
"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": "ab494589-de6d-4317-849d-887bd1235a8d",
"isStatic": true,
"stickerType_ID": "893ff9e8-72e7-46b8-b507-20ed40a41fb9",
"technicalDescription": "sample string 6"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "86d873b6-205f-4594-924c-ef0ce8538e2d",
"italic": true,
"staticValue": "sample string 8",
"sticker_ID": "2beb0fff-5deb-4059-8f3d-0e81d288006a",
"stickerField_ID": "3aee8cd7-d266-4ac5-9402-74d1fe9e0128",
"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": "ab494589-de6d-4317-849d-887bd1235a8d",
"isStatic": true,
"stickerType_ID": "893ff9e8-72e7-46b8-b507-20ed40a41fb9",
"technicalDescription": "sample string 6"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "86d873b6-205f-4594-924c-ef0ce8538e2d",
"italic": true,
"staticValue": "sample string 8",
"sticker_ID": "2beb0fff-5deb-4059-8f3d-0e81d288006a",
"stickerField_ID": "3aee8cd7-d266-4ac5-9402-74d1fe9e0128",
"stringLength": 1,
"stringStart": 1,
"zoneNumber": 11
}
],
"active": true,
"code": "sample string 2",
"id": "b3221303-0027-4233-aeec-2f82b8fb0d76",
"stickerType_ID": "19fa04d5-fd13-4a36-9361-906d5857c85b",
"stickerRelation_IDs": [
"7637d6a7-dc4a-4037-bc7b-2f8cd96ce1e0",
"2cfa8a9e-e9cd-4f6b-ac04-d559619c53b9"
],
"site_ID": "2f160d68-3139-4a2c-a984-9dd851311066"
}
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"0dbb0d9a-b59b-4f19-b3e4-f34b45477e25"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0dbb0d9a-b59b-4f19-b3e4-f34b45477e25</guid>