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": "4d1f9226-dc45-4fd8-aba0-cb975c8abd7f",
"isProductionSite": true,
"isStatic": true,
"separator": "sample string 6",
"stickerType_ID": "14a326bc-4ab7-4333-a2b0-26356bbdeb34",
"technicalDescription": "sample string 8"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "13459459-0c65-4393-9252-4732fee3e969",
"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": "75294c40-d412-4d3e-af95-4b8d15713e5c",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "3bb54d31-39a6-4694-8170-2299943403c8",
"contractItem_ID": "2033636c-70ae-4ce4-ac42-0a4c3d631946",
"departement_ID": "0f93f554-32db-4efe-8e28-63526a5c090d",
"departmentItem_ID": "ec212b5e-83b2-4814-8dac-279b72b817ea",
"iD": "0bdd4daf-d937-4611-94ec-b9c32954faa8",
"site_ID": "f9696743-bf8a-4aac-9a26-b26b13ff77bf",
"siteCustomer_ID": "e5c0c05f-c931-4f63-84b3-fe3559f15967",
"sticker_ID": "8cfe602a-b14b-487e-937a-8732bedc18ce",
"garment_ID": "d57c6ad7-9b79-4683-b0ba-b5ac8bdeba05"
},
{
"active": true,
"contract_ID": "3bb54d31-39a6-4694-8170-2299943403c8",
"contractItem_ID": "2033636c-70ae-4ce4-ac42-0a4c3d631946",
"departement_ID": "0f93f554-32db-4efe-8e28-63526a5c090d",
"departmentItem_ID": "ec212b5e-83b2-4814-8dac-279b72b817ea",
"iD": "0bdd4daf-d937-4611-94ec-b9c32954faa8",
"site_ID": "f9696743-bf8a-4aac-9a26-b26b13ff77bf",
"siteCustomer_ID": "e5c0c05f-c931-4f63-84b3-fe3559f15967",
"sticker_ID": "8cfe602a-b14b-487e-937a-8732bedc18ce",
"garment_ID": "d57c6ad7-9b79-4683-b0ba-b5ac8bdeba05"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "80f22b54-a282-43a0-a3c0-0f0d7cf6dc1a",
"stickerType_ID": "b4450d0f-cf87-4702-8ae7-2a7af34ef11e",
"stickerRelation_IDs": [
"2341f80b-82bf-495a-af37-1b94d39e8f42",
"06bbd739-0ccc-4e5a-bfb2-3db049fc1a76"
],
"site_ID": "87d1d447-3ab8-4e4c-a90f-6dfd1821bc68"
},
"sticker_ID": "ae7fbc67-4063-4e51-8dcf-e0cb2d27ae0f",
"stickerField_ID": "9ee59641-1a4b-4bd5-8936-11e8e78ec7a7",
"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": "4d1f9226-dc45-4fd8-aba0-cb975c8abd7f",
"isProductionSite": true,
"isStatic": true,
"separator": "sample string 6",
"stickerType_ID": "14a326bc-4ab7-4333-a2b0-26356bbdeb34",
"technicalDescription": "sample string 8"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "13459459-0c65-4393-9252-4732fee3e969",
"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": "75294c40-d412-4d3e-af95-4b8d15713e5c",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "3bb54d31-39a6-4694-8170-2299943403c8",
"contractItem_ID": "2033636c-70ae-4ce4-ac42-0a4c3d631946",
"departement_ID": "0f93f554-32db-4efe-8e28-63526a5c090d",
"departmentItem_ID": "ec212b5e-83b2-4814-8dac-279b72b817ea",
"iD": "0bdd4daf-d937-4611-94ec-b9c32954faa8",
"site_ID": "f9696743-bf8a-4aac-9a26-b26b13ff77bf",
"siteCustomer_ID": "e5c0c05f-c931-4f63-84b3-fe3559f15967",
"sticker_ID": "8cfe602a-b14b-487e-937a-8732bedc18ce",
"garment_ID": "d57c6ad7-9b79-4683-b0ba-b5ac8bdeba05"
},
{
"active": true,
"contract_ID": "3bb54d31-39a6-4694-8170-2299943403c8",
"contractItem_ID": "2033636c-70ae-4ce4-ac42-0a4c3d631946",
"departement_ID": "0f93f554-32db-4efe-8e28-63526a5c090d",
"departmentItem_ID": "ec212b5e-83b2-4814-8dac-279b72b817ea",
"iD": "0bdd4daf-d937-4611-94ec-b9c32954faa8",
"site_ID": "f9696743-bf8a-4aac-9a26-b26b13ff77bf",
"siteCustomer_ID": "e5c0c05f-c931-4f63-84b3-fe3559f15967",
"sticker_ID": "8cfe602a-b14b-487e-937a-8732bedc18ce",
"garment_ID": "d57c6ad7-9b79-4683-b0ba-b5ac8bdeba05"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "80f22b54-a282-43a0-a3c0-0f0d7cf6dc1a",
"stickerType_ID": "b4450d0f-cf87-4702-8ae7-2a7af34ef11e",
"stickerRelation_IDs": [
"2341f80b-82bf-495a-af37-1b94d39e8f42",
"06bbd739-0ccc-4e5a-bfb2-3db049fc1a76"
],
"site_ID": "87d1d447-3ab8-4e4c-a90f-6dfd1821bc68"
},
"sticker_ID": "ae7fbc67-4063-4e51-8dcf-e0cb2d27ae0f",
"stickerField_ID": "9ee59641-1a4b-4bd5-8936-11e8e78ec7a7",
"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.