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": "1afa838d-2cf8-4c28-a2ed-18ced18542a4",
"isProductionSite": true,
"isStatic": true,
"separator": "sample string 6",
"stickerType_ID": "8782c220-62ce-44b1-8703-cd91ad613564",
"technicalDescription": "sample string 8"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "9fca7b4a-3e7c-4c32-a651-f5a01be85aad",
"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": "c8f86001-6e1a-4f39-9e76-db86b08ad4a6",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "d967ed3d-1c3d-461c-a1f2-50049fcd889f",
"contractItem_ID": "6e05d2d1-3f10-4573-a8c6-25eac922e317",
"departement_ID": "96716a4e-f743-49c0-8c21-49c7fc7a9faf",
"departmentItem_ID": "f6b25466-e1c1-4cec-a376-56eec4c97d61",
"iD": "681f8fc1-5f06-47d9-9e33-e5f5176f6f5d",
"site_ID": "1190a17d-b7eb-4012-9439-8b4282061c3c",
"siteCustomer_ID": "47d9468e-63f9-4101-a1ef-ccec0710b016",
"sticker_ID": "6dfb52d4-1841-455c-9c23-a155b871056e",
"garment_ID": "42255380-aaa5-410a-b09e-ac517c95bea7"
},
{
"active": true,
"contract_ID": "d967ed3d-1c3d-461c-a1f2-50049fcd889f",
"contractItem_ID": "6e05d2d1-3f10-4573-a8c6-25eac922e317",
"departement_ID": "96716a4e-f743-49c0-8c21-49c7fc7a9faf",
"departmentItem_ID": "f6b25466-e1c1-4cec-a376-56eec4c97d61",
"iD": "681f8fc1-5f06-47d9-9e33-e5f5176f6f5d",
"site_ID": "1190a17d-b7eb-4012-9439-8b4282061c3c",
"siteCustomer_ID": "47d9468e-63f9-4101-a1ef-ccec0710b016",
"sticker_ID": "6dfb52d4-1841-455c-9c23-a155b871056e",
"garment_ID": "42255380-aaa5-410a-b09e-ac517c95bea7"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "5f606774-0417-4212-b7f3-78d31bd2d6a2",
"stickerType_ID": "fe4ee763-f329-485e-8050-d0c51323a350",
"stickerRelation_IDs": [
"ec316997-19b7-437b-9f83-58821514598f",
"8ce00dae-7440-45fe-8db2-e2f7238a0f72"
],
"site_ID": "3ceefe47-7dc4-4c4a-b7a8-d2bbff5edc0d"
},
"sticker_ID": "b03c3c81-21fb-4e2d-bd08-e86d25583d66",
"stickerField_ID": "a40cf81a-aac7-46c5-8226-4694e1768431",
"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": "1afa838d-2cf8-4c28-a2ed-18ced18542a4",
"isProductionSite": true,
"isStatic": true,
"separator": "sample string 6",
"stickerType_ID": "8782c220-62ce-44b1-8703-cd91ad613564",
"technicalDescription": "sample string 8"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "9fca7b4a-3e7c-4c32-a651-f5a01be85aad",
"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": "c8f86001-6e1a-4f39-9e76-db86b08ad4a6",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "d967ed3d-1c3d-461c-a1f2-50049fcd889f",
"contractItem_ID": "6e05d2d1-3f10-4573-a8c6-25eac922e317",
"departement_ID": "96716a4e-f743-49c0-8c21-49c7fc7a9faf",
"departmentItem_ID": "f6b25466-e1c1-4cec-a376-56eec4c97d61",
"iD": "681f8fc1-5f06-47d9-9e33-e5f5176f6f5d",
"site_ID": "1190a17d-b7eb-4012-9439-8b4282061c3c",
"siteCustomer_ID": "47d9468e-63f9-4101-a1ef-ccec0710b016",
"sticker_ID": "6dfb52d4-1841-455c-9c23-a155b871056e",
"garment_ID": "42255380-aaa5-410a-b09e-ac517c95bea7"
},
{
"active": true,
"contract_ID": "d967ed3d-1c3d-461c-a1f2-50049fcd889f",
"contractItem_ID": "6e05d2d1-3f10-4573-a8c6-25eac922e317",
"departement_ID": "96716a4e-f743-49c0-8c21-49c7fc7a9faf",
"departmentItem_ID": "f6b25466-e1c1-4cec-a376-56eec4c97d61",
"iD": "681f8fc1-5f06-47d9-9e33-e5f5176f6f5d",
"site_ID": "1190a17d-b7eb-4012-9439-8b4282061c3c",
"siteCustomer_ID": "47d9468e-63f9-4101-a1ef-ccec0710b016",
"sticker_ID": "6dfb52d4-1841-455c-9c23-a155b871056e",
"garment_ID": "42255380-aaa5-410a-b09e-ac517c95bea7"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "5f606774-0417-4212-b7f3-78d31bd2d6a2",
"stickerType_ID": "fe4ee763-f329-485e-8050-d0c51323a350",
"stickerRelation_IDs": [
"ec316997-19b7-437b-9f83-58821514598f",
"8ce00dae-7440-45fe-8db2-e2f7238a0f72"
],
"site_ID": "3ceefe47-7dc4-4c4a-b7a8-d2bbff5edc0d"
},
"sticker_ID": "b03c3c81-21fb-4e2d-bd08-e86d25583d66",
"stickerField_ID": "a40cf81a-aac7-46c5-8226-4694e1768431",
"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.