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": "d59886f7-fbb7-4864-bf23-98dbdbe7bf02",
"isProductionSite": true,
"isStatic": true,
"separator": "sample string 6",
"stickerType_ID": "d1441886-20ce-48ad-aea8-dca794775e0b",
"technicalDescription": "sample string 8"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "746c81a5-16b4-42da-a443-436e7f337df0",
"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": "fe62d2d6-9b6b-4c43-ab54-1200f1d475a0",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "473f0964-cbda-4415-bacc-2b8cb4d85aa0",
"contractItem_ID": "9817b6de-138a-4f28-b9e5-644c2a7fa5de",
"departement_ID": "0b9f8e58-0d41-4d10-aebc-323c1bd9b311",
"departmentItem_ID": "2f35f3f1-e503-4983-9aba-68dfb0bef945",
"iD": "5d43ff0c-a0e1-4986-a939-595eb81a7dc9",
"site_ID": "ffb2cfd9-2aaf-4679-b15a-51c11d1ee5f5",
"siteCustomer_ID": "d4543e03-72f2-4524-afd1-4635ed3bc88a",
"sticker_ID": "e4d0bd75-5347-4c9f-903f-982036b81e89",
"garment_ID": "947e3105-dac3-4c44-a7c3-975e11acaadd"
},
{
"active": true,
"contract_ID": "473f0964-cbda-4415-bacc-2b8cb4d85aa0",
"contractItem_ID": "9817b6de-138a-4f28-b9e5-644c2a7fa5de",
"departement_ID": "0b9f8e58-0d41-4d10-aebc-323c1bd9b311",
"departmentItem_ID": "2f35f3f1-e503-4983-9aba-68dfb0bef945",
"iD": "5d43ff0c-a0e1-4986-a939-595eb81a7dc9",
"site_ID": "ffb2cfd9-2aaf-4679-b15a-51c11d1ee5f5",
"siteCustomer_ID": "d4543e03-72f2-4524-afd1-4635ed3bc88a",
"sticker_ID": "e4d0bd75-5347-4c9f-903f-982036b81e89",
"garment_ID": "947e3105-dac3-4c44-a7c3-975e11acaadd"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "8a9f7ed9-838b-4d97-abcd-d18d94a27905",
"stickerType_ID": "bd386f48-b07d-4a58-bfa1-e8241e053bcd",
"stickerRelation_IDs": [
"b7cffd56-38d2-4313-aa9a-b216f1ddb221",
"4710f606-e8df-4778-bb18-6f06d315a99e"
],
"site_ID": "d41f8cfa-badc-41cc-a5c3-44d10a2aff82"
},
"sticker_ID": "23ddf5f2-31ec-4c43-a38c-b45ff2eaf9d1",
"stickerField_ID": "cf2863fe-72cf-4753-b810-367c3fcf3f2c",
"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": "d59886f7-fbb7-4864-bf23-98dbdbe7bf02",
"isProductionSite": true,
"isStatic": true,
"separator": "sample string 6",
"stickerType_ID": "d1441886-20ce-48ad-aea8-dca794775e0b",
"technicalDescription": "sample string 8"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "746c81a5-16b4-42da-a443-436e7f337df0",
"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": "fe62d2d6-9b6b-4c43-ab54-1200f1d475a0",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "473f0964-cbda-4415-bacc-2b8cb4d85aa0",
"contractItem_ID": "9817b6de-138a-4f28-b9e5-644c2a7fa5de",
"departement_ID": "0b9f8e58-0d41-4d10-aebc-323c1bd9b311",
"departmentItem_ID": "2f35f3f1-e503-4983-9aba-68dfb0bef945",
"iD": "5d43ff0c-a0e1-4986-a939-595eb81a7dc9",
"site_ID": "ffb2cfd9-2aaf-4679-b15a-51c11d1ee5f5",
"siteCustomer_ID": "d4543e03-72f2-4524-afd1-4635ed3bc88a",
"sticker_ID": "e4d0bd75-5347-4c9f-903f-982036b81e89",
"garment_ID": "947e3105-dac3-4c44-a7c3-975e11acaadd"
},
{
"active": true,
"contract_ID": "473f0964-cbda-4415-bacc-2b8cb4d85aa0",
"contractItem_ID": "9817b6de-138a-4f28-b9e5-644c2a7fa5de",
"departement_ID": "0b9f8e58-0d41-4d10-aebc-323c1bd9b311",
"departmentItem_ID": "2f35f3f1-e503-4983-9aba-68dfb0bef945",
"iD": "5d43ff0c-a0e1-4986-a939-595eb81a7dc9",
"site_ID": "ffb2cfd9-2aaf-4679-b15a-51c11d1ee5f5",
"siteCustomer_ID": "d4543e03-72f2-4524-afd1-4635ed3bc88a",
"sticker_ID": "e4d0bd75-5347-4c9f-903f-982036b81e89",
"garment_ID": "947e3105-dac3-4c44-a7c3-975e11acaadd"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "8a9f7ed9-838b-4d97-abcd-d18d94a27905",
"stickerType_ID": "bd386f48-b07d-4a58-bfa1-e8241e053bcd",
"stickerRelation_IDs": [
"b7cffd56-38d2-4313-aa9a-b216f1ddb221",
"4710f606-e8df-4778-bb18-6f06d315a99e"
],
"site_ID": "d41f8cfa-badc-41cc-a5c3-44d10a2aff82"
},
"sticker_ID": "23ddf5f2-31ec-4c43-a38c-b45ff2eaf9d1",
"stickerField_ID": "cf2863fe-72cf-4753-b810-367c3fcf3f2c",
"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.