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": "cf050d03-550f-4e29-9217-65a802feafaa",
"isProductionSite": true,
"isStatic": true,
"separator": "sample string 6",
"stickerType_ID": "75a41ce1-bdb6-492a-ac94-85b67bf40728",
"technicalDescription": "sample string 8"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "d17848bf-6e76-4dac-b64c-d069e00a05d9",
"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": "29ecb375-3caf-46b3-a520-671e6a0030d9",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "9a67c1cf-ad89-4656-87d8-dc2575ee15cf",
"contractItem_ID": "dd1c214e-90ce-4570-ba72-ac9b4f4f5826",
"departement_ID": "f9b3b5cd-705f-4362-8b17-4e898fb1d7a8",
"departmentItem_ID": "ce906bf4-3833-4495-94c2-251602ccb638",
"iD": "e5eddb0d-440b-411e-a3eb-ef4dde3e2cd5",
"site_ID": "01f55d03-ab04-4c91-9827-3b470f45df20",
"siteCustomer_ID": "174b4d2c-887a-4a59-bff9-20753ec890bb",
"sticker_ID": "8acfac9e-1d5d-4272-8254-1a113c1a9cd8",
"garment_ID": "57e98768-357d-420a-8883-534bbe23db3a"
},
{
"active": true,
"contract_ID": "9a67c1cf-ad89-4656-87d8-dc2575ee15cf",
"contractItem_ID": "dd1c214e-90ce-4570-ba72-ac9b4f4f5826",
"departement_ID": "f9b3b5cd-705f-4362-8b17-4e898fb1d7a8",
"departmentItem_ID": "ce906bf4-3833-4495-94c2-251602ccb638",
"iD": "e5eddb0d-440b-411e-a3eb-ef4dde3e2cd5",
"site_ID": "01f55d03-ab04-4c91-9827-3b470f45df20",
"siteCustomer_ID": "174b4d2c-887a-4a59-bff9-20753ec890bb",
"sticker_ID": "8acfac9e-1d5d-4272-8254-1a113c1a9cd8",
"garment_ID": "57e98768-357d-420a-8883-534bbe23db3a"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "91689190-3dcc-496d-890f-41dae25ae570",
"stickerType_ID": "716eb7f1-07fb-4f09-b5ee-ff310060b327",
"stickerRelation_IDs": [
"ecf50a2a-b48c-44ad-8cfd-2550a62b97da",
"0015f9ec-97ef-40ef-92b6-78cceb006682"
],
"site_ID": "029eb825-22c0-4bb7-8d17-35598e39cb18"
},
"sticker_ID": "8580da08-c597-45e4-aafe-e11857cc0755",
"stickerField_ID": "be3efa16-4e25-4855-aa02-cd955d544fc7",
"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": "cf050d03-550f-4e29-9217-65a802feafaa",
"isProductionSite": true,
"isStatic": true,
"separator": "sample string 6",
"stickerType_ID": "75a41ce1-bdb6-492a-ac94-85b67bf40728",
"technicalDescription": "sample string 8"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "d17848bf-6e76-4dac-b64c-d069e00a05d9",
"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": "29ecb375-3caf-46b3-a520-671e6a0030d9",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "9a67c1cf-ad89-4656-87d8-dc2575ee15cf",
"contractItem_ID": "dd1c214e-90ce-4570-ba72-ac9b4f4f5826",
"departement_ID": "f9b3b5cd-705f-4362-8b17-4e898fb1d7a8",
"departmentItem_ID": "ce906bf4-3833-4495-94c2-251602ccb638",
"iD": "e5eddb0d-440b-411e-a3eb-ef4dde3e2cd5",
"site_ID": "01f55d03-ab04-4c91-9827-3b470f45df20",
"siteCustomer_ID": "174b4d2c-887a-4a59-bff9-20753ec890bb",
"sticker_ID": "8acfac9e-1d5d-4272-8254-1a113c1a9cd8",
"garment_ID": "57e98768-357d-420a-8883-534bbe23db3a"
},
{
"active": true,
"contract_ID": "9a67c1cf-ad89-4656-87d8-dc2575ee15cf",
"contractItem_ID": "dd1c214e-90ce-4570-ba72-ac9b4f4f5826",
"departement_ID": "f9b3b5cd-705f-4362-8b17-4e898fb1d7a8",
"departmentItem_ID": "ce906bf4-3833-4495-94c2-251602ccb638",
"iD": "e5eddb0d-440b-411e-a3eb-ef4dde3e2cd5",
"site_ID": "01f55d03-ab04-4c91-9827-3b470f45df20",
"siteCustomer_ID": "174b4d2c-887a-4a59-bff9-20753ec890bb",
"sticker_ID": "8acfac9e-1d5d-4272-8254-1a113c1a9cd8",
"garment_ID": "57e98768-357d-420a-8883-534bbe23db3a"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "91689190-3dcc-496d-890f-41dae25ae570",
"stickerType_ID": "716eb7f1-07fb-4f09-b5ee-ff310060b327",
"stickerRelation_IDs": [
"ecf50a2a-b48c-44ad-8cfd-2550a62b97da",
"0015f9ec-97ef-40ef-92b6-78cceb006682"
],
"site_ID": "029eb825-22c0-4bb7-8d17-35598e39cb18"
},
"sticker_ID": "8580da08-c597-45e4-aafe-e11857cc0755",
"stickerField_ID": "be3efa16-4e25-4855-aa02-cd955d544fc7",
"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.