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": "870a6604-4ef0-456f-97d8-fb9b7e51fd8a",
"isProductionSite": true,
"isStatic": true,
"separator": "sample string 6",
"stickerType_ID": "5c0d0db1-decf-4693-8299-94abd085f5e6",
"technicalDescription": "sample string 8"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "e1f3dd4e-2db7-4d98-9bbb-4d8b0f9bbf06",
"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": "186405d2-722e-49a7-86a3-b262901d573f",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "2543128c-bc2c-4c0e-afa9-a1e748f848a8",
"contractItem_ID": "851c0e6e-4f7d-477a-959a-251a3fdd8427",
"departement_ID": "fe8ad3f9-f11a-4647-b2d7-40a5a91cfe38",
"departmentItem_ID": "64f4fa76-d621-4ac8-b7b9-48820edfb330",
"iD": "2b0742d3-2ed2-4059-af55-fab463c7f929",
"site_ID": "ac57b54d-3f33-40cf-9585-fdbb0e794813",
"siteCustomer_ID": "d527a571-5592-41fb-9502-95e03b44e357",
"sticker_ID": "8a35b9d7-a110-4fbc-b3ea-3f7b262eba0d",
"garment_ID": "ee1717df-9120-4a4a-a078-e069039b5e84"
},
{
"active": true,
"contract_ID": "2543128c-bc2c-4c0e-afa9-a1e748f848a8",
"contractItem_ID": "851c0e6e-4f7d-477a-959a-251a3fdd8427",
"departement_ID": "fe8ad3f9-f11a-4647-b2d7-40a5a91cfe38",
"departmentItem_ID": "64f4fa76-d621-4ac8-b7b9-48820edfb330",
"iD": "2b0742d3-2ed2-4059-af55-fab463c7f929",
"site_ID": "ac57b54d-3f33-40cf-9585-fdbb0e794813",
"siteCustomer_ID": "d527a571-5592-41fb-9502-95e03b44e357",
"sticker_ID": "8a35b9d7-a110-4fbc-b3ea-3f7b262eba0d",
"garment_ID": "ee1717df-9120-4a4a-a078-e069039b5e84"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "a46f16f0-0d42-4c19-822f-f039265decdc",
"stickerType_ID": "2dafb82f-08a7-4a1a-9e14-4505241dba38",
"stickerRelation_IDs": [
"6bd8a348-3fef-45bf-a6b4-13c074005679",
"46a1961f-6b72-4617-938c-8ae87559fba9"
],
"site_ID": "6c1f58b2-a529-49e0-88d6-2de00c5d1d1f"
},
"sticker_ID": "770da787-1941-456a-885b-0618682df047",
"stickerField_ID": "984c023b-ad40-454d-a50a-70c3b91fa854",
"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": "870a6604-4ef0-456f-97d8-fb9b7e51fd8a",
"isProductionSite": true,
"isStatic": true,
"separator": "sample string 6",
"stickerType_ID": "5c0d0db1-decf-4693-8299-94abd085f5e6",
"technicalDescription": "sample string 8"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "e1f3dd4e-2db7-4d98-9bbb-4d8b0f9bbf06",
"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": "186405d2-722e-49a7-86a3-b262901d573f",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "2543128c-bc2c-4c0e-afa9-a1e748f848a8",
"contractItem_ID": "851c0e6e-4f7d-477a-959a-251a3fdd8427",
"departement_ID": "fe8ad3f9-f11a-4647-b2d7-40a5a91cfe38",
"departmentItem_ID": "64f4fa76-d621-4ac8-b7b9-48820edfb330",
"iD": "2b0742d3-2ed2-4059-af55-fab463c7f929",
"site_ID": "ac57b54d-3f33-40cf-9585-fdbb0e794813",
"siteCustomer_ID": "d527a571-5592-41fb-9502-95e03b44e357",
"sticker_ID": "8a35b9d7-a110-4fbc-b3ea-3f7b262eba0d",
"garment_ID": "ee1717df-9120-4a4a-a078-e069039b5e84"
},
{
"active": true,
"contract_ID": "2543128c-bc2c-4c0e-afa9-a1e748f848a8",
"contractItem_ID": "851c0e6e-4f7d-477a-959a-251a3fdd8427",
"departement_ID": "fe8ad3f9-f11a-4647-b2d7-40a5a91cfe38",
"departmentItem_ID": "64f4fa76-d621-4ac8-b7b9-48820edfb330",
"iD": "2b0742d3-2ed2-4059-af55-fab463c7f929",
"site_ID": "ac57b54d-3f33-40cf-9585-fdbb0e794813",
"siteCustomer_ID": "d527a571-5592-41fb-9502-95e03b44e357",
"sticker_ID": "8a35b9d7-a110-4fbc-b3ea-3f7b262eba0d",
"garment_ID": "ee1717df-9120-4a4a-a078-e069039b5e84"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "a46f16f0-0d42-4c19-822f-f039265decdc",
"stickerType_ID": "2dafb82f-08a7-4a1a-9e14-4505241dba38",
"stickerRelation_IDs": [
"6bd8a348-3fef-45bf-a6b4-13c074005679",
"46a1961f-6b72-4617-938c-8ae87559fba9"
],
"site_ID": "6c1f58b2-a529-49e0-88d6-2de00c5d1d1f"
},
"sticker_ID": "770da787-1941-456a-885b-0618682df047",
"stickerField_ID": "984c023b-ad40-454d-a50a-70c3b91fa854",
"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.