POST api/StickerDetail/upsert?stickerID={stickerID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| stickerID | globally unique identifier |
Required |
Body Parameters
Collection of StickerDetailViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| stickerField | StickerFieldViewModel |
None. |
|
| active | boolean |
Required |
|
| backgroundColor | string |
Required Max length: 6 |
|
| bold | boolean |
Required |
|
| fontSize | integer |
Required |
|
| foregroundColor | string |
Required Max length: 6 |
|
| ID | globally unique identifier |
None. |
|
| italic | boolean |
Required |
|
| staticValue | string |
Max length: 20 |
|
| sticker | StickerViewModel |
None. |
|
| sticker_ID | globally unique identifier |
Required |
|
| stickerField_ID | globally unique identifier |
Required |
|
| stringLength | integer |
None. |
|
| stringStart | integer |
None. |
|
| zoneNumber | integer |
Required |
Request Formats
application/json, text/json
Sample:
[
{
"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": "cb446b32-8a81-4dae-800a-c9d7068353bb",
"isProductionSite": true,
"isStatic": true,
"separator": "sample string 6",
"stickerType_ID": "cbec4d31-a61e-437a-a28b-40fbe4289273",
"technicalDescription": "sample string 8"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "aa6c95f4-30c3-45c0-b40f-6b7ce26ddf81",
"italic": true,
"staticValue": "sample string 8",
"sticker": {
"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": "70a2de17-f02a-4451-9d83-b2841247ac72",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "af09b7d8-5b59-4473-a189-94cf4573455e",
"contractItem_ID": "cdad4ffe-0967-46df-8756-85cb10592144",
"departement_ID": "77b2bf79-f000-4dd4-b701-00c4a26f933c",
"departmentItem_ID": "266fd6b5-f9a4-42c8-8df6-adb054bca5a5",
"iD": "da3d363f-17ba-4a2c-8be7-bbda6447a9aa",
"site_ID": "d8d46894-6181-49d9-8168-57063a2edefe",
"siteCustomer_ID": "ceb6d6b5-ccda-4020-b25e-0a99c6e4672f",
"sticker_ID": "183015ff-8f8f-4e19-b6d0-dee6cdfbc6c6",
"garment_ID": "29e97b6b-ab6b-4ebe-b101-f9ad54190a68"
},
{
"active": true,
"contract_ID": "af09b7d8-5b59-4473-a189-94cf4573455e",
"contractItem_ID": "cdad4ffe-0967-46df-8756-85cb10592144",
"departement_ID": "77b2bf79-f000-4dd4-b701-00c4a26f933c",
"departmentItem_ID": "266fd6b5-f9a4-42c8-8df6-adb054bca5a5",
"iD": "da3d363f-17ba-4a2c-8be7-bbda6447a9aa",
"site_ID": "d8d46894-6181-49d9-8168-57063a2edefe",
"siteCustomer_ID": "ceb6d6b5-ccda-4020-b25e-0a99c6e4672f",
"sticker_ID": "183015ff-8f8f-4e19-b6d0-dee6cdfbc6c6",
"garment_ID": "29e97b6b-ab6b-4ebe-b101-f9ad54190a68"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "b01cc45f-1d8c-44f9-8736-fe82c2672498",
"stickerType_ID": "bee49c08-e3f3-4538-95c9-0e8f00d64be2",
"stickerRelation_IDs": [
"57e18a13-bf4f-474c-b754-d70bd01be6fe",
"efc9b9f2-a86c-4597-8383-53c096dda6b7"
],
"site_ID": "67b0b169-4261-407e-9008-a271476ce60e"
},
"sticker_ID": "e8d9a5a7-f07b-462f-9a20-4e99d47593b1",
"stickerField_ID": "f92d2710-bc7d-4ce3-94c1-f80c5a1d976a",
"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": "cb446b32-8a81-4dae-800a-c9d7068353bb",
"isProductionSite": true,
"isStatic": true,
"separator": "sample string 6",
"stickerType_ID": "cbec4d31-a61e-437a-a28b-40fbe4289273",
"technicalDescription": "sample string 8"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "aa6c95f4-30c3-45c0-b40f-6b7ce26ddf81",
"italic": true,
"staticValue": "sample string 8",
"sticker": {
"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": "70a2de17-f02a-4451-9d83-b2841247ac72",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "af09b7d8-5b59-4473-a189-94cf4573455e",
"contractItem_ID": "cdad4ffe-0967-46df-8756-85cb10592144",
"departement_ID": "77b2bf79-f000-4dd4-b701-00c4a26f933c",
"departmentItem_ID": "266fd6b5-f9a4-42c8-8df6-adb054bca5a5",
"iD": "da3d363f-17ba-4a2c-8be7-bbda6447a9aa",
"site_ID": "d8d46894-6181-49d9-8168-57063a2edefe",
"siteCustomer_ID": "ceb6d6b5-ccda-4020-b25e-0a99c6e4672f",
"sticker_ID": "183015ff-8f8f-4e19-b6d0-dee6cdfbc6c6",
"garment_ID": "29e97b6b-ab6b-4ebe-b101-f9ad54190a68"
},
{
"active": true,
"contract_ID": "af09b7d8-5b59-4473-a189-94cf4573455e",
"contractItem_ID": "cdad4ffe-0967-46df-8756-85cb10592144",
"departement_ID": "77b2bf79-f000-4dd4-b701-00c4a26f933c",
"departmentItem_ID": "266fd6b5-f9a4-42c8-8df6-adb054bca5a5",
"iD": "da3d363f-17ba-4a2c-8be7-bbda6447a9aa",
"site_ID": "d8d46894-6181-49d9-8168-57063a2edefe",
"siteCustomer_ID": "ceb6d6b5-ccda-4020-b25e-0a99c6e4672f",
"sticker_ID": "183015ff-8f8f-4e19-b6d0-dee6cdfbc6c6",
"garment_ID": "29e97b6b-ab6b-4ebe-b101-f9ad54190a68"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "b01cc45f-1d8c-44f9-8736-fe82c2672498",
"stickerType_ID": "bee49c08-e3f3-4538-95c9-0e8f00d64be2",
"stickerRelation_IDs": [
"57e18a13-bf4f-474c-b754-d70bd01be6fe",
"efc9b9f2-a86c-4597-8383-53c096dda6b7"
],
"site_ID": "67b0b169-4261-407e-9008-a271476ce60e"
},
"sticker_ID": "e8d9a5a7-f07b-462f-9a20-4e99d47593b1",
"stickerField_ID": "f92d2710-bc7d-4ce3-94c1-f80c5a1d976a",
"stringLength": 1,
"stringStart": 1,
"zoneNumber": 11
}
]
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
None.