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": "cce50f61-b7bc-4628-910e-e95538be25bc",
"isProductionSite": true,
"isStatic": true,
"separator": "sample string 6",
"stickerType_ID": "efa6891b-53b7-4ad9-a96f-71b715ae50a1",
"technicalDescription": "sample string 8"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "53eee01b-dcc2-4016-a5d5-ad622432af15",
"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": "922f8f5f-ca5e-4a17-8ed8-7b59536f4b27",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "6d084317-b262-455e-876d-705f7a40089f",
"contractItem_ID": "5f2826c1-e925-485c-ae5b-cffbb1f58d09",
"departement_ID": "4907dab3-5ec9-4074-96db-59a767c7e817",
"departmentItem_ID": "7eaeacc1-4c0d-4f1c-aa73-8cf75fc00a7d",
"iD": "e26bdebe-79ee-423b-8205-beb3a00c6424",
"site_ID": "f2240fb4-7c94-437f-8359-c418cbb8628f",
"siteCustomer_ID": "644aade8-9374-4200-a297-af6bc6e9e761",
"sticker_ID": "5cc9b5c6-b7b5-4a57-a7cd-4941ee48862a",
"garment_ID": "745e891f-688d-4ab2-b185-ff33ee8e25c4"
},
{
"active": true,
"contract_ID": "6d084317-b262-455e-876d-705f7a40089f",
"contractItem_ID": "5f2826c1-e925-485c-ae5b-cffbb1f58d09",
"departement_ID": "4907dab3-5ec9-4074-96db-59a767c7e817",
"departmentItem_ID": "7eaeacc1-4c0d-4f1c-aa73-8cf75fc00a7d",
"iD": "e26bdebe-79ee-423b-8205-beb3a00c6424",
"site_ID": "f2240fb4-7c94-437f-8359-c418cbb8628f",
"siteCustomer_ID": "644aade8-9374-4200-a297-af6bc6e9e761",
"sticker_ID": "5cc9b5c6-b7b5-4a57-a7cd-4941ee48862a",
"garment_ID": "745e891f-688d-4ab2-b185-ff33ee8e25c4"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "96e4e65a-cbfa-4ee7-821b-fa67e34e4fe1",
"stickerType_ID": "8baed842-584a-4e90-896e-bdfd8f63d6e5",
"stickerRelation_IDs": [
"f42087c6-9374-4ab8-bb74-256ce9399d67",
"f10205d9-f244-4dae-bc50-b144654a83b5"
],
"site_ID": "0139e7aa-db41-4632-bfe1-fb1be4004356"
},
"sticker_ID": "a5f7ac77-b9a4-450d-b1fd-6595d602c00f",
"stickerField_ID": "525f70fd-d731-499f-8e3f-0068a442df3a",
"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": "cce50f61-b7bc-4628-910e-e95538be25bc",
"isProductionSite": true,
"isStatic": true,
"separator": "sample string 6",
"stickerType_ID": "efa6891b-53b7-4ad9-a96f-71b715ae50a1",
"technicalDescription": "sample string 8"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "53eee01b-dcc2-4016-a5d5-ad622432af15",
"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": "922f8f5f-ca5e-4a17-8ed8-7b59536f4b27",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "6d084317-b262-455e-876d-705f7a40089f",
"contractItem_ID": "5f2826c1-e925-485c-ae5b-cffbb1f58d09",
"departement_ID": "4907dab3-5ec9-4074-96db-59a767c7e817",
"departmentItem_ID": "7eaeacc1-4c0d-4f1c-aa73-8cf75fc00a7d",
"iD": "e26bdebe-79ee-423b-8205-beb3a00c6424",
"site_ID": "f2240fb4-7c94-437f-8359-c418cbb8628f",
"siteCustomer_ID": "644aade8-9374-4200-a297-af6bc6e9e761",
"sticker_ID": "5cc9b5c6-b7b5-4a57-a7cd-4941ee48862a",
"garment_ID": "745e891f-688d-4ab2-b185-ff33ee8e25c4"
},
{
"active": true,
"contract_ID": "6d084317-b262-455e-876d-705f7a40089f",
"contractItem_ID": "5f2826c1-e925-485c-ae5b-cffbb1f58d09",
"departement_ID": "4907dab3-5ec9-4074-96db-59a767c7e817",
"departmentItem_ID": "7eaeacc1-4c0d-4f1c-aa73-8cf75fc00a7d",
"iD": "e26bdebe-79ee-423b-8205-beb3a00c6424",
"site_ID": "f2240fb4-7c94-437f-8359-c418cbb8628f",
"siteCustomer_ID": "644aade8-9374-4200-a297-af6bc6e9e761",
"sticker_ID": "5cc9b5c6-b7b5-4a57-a7cd-4941ee48862a",
"garment_ID": "745e891f-688d-4ab2-b185-ff33ee8e25c4"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "96e4e65a-cbfa-4ee7-821b-fa67e34e4fe1",
"stickerType_ID": "8baed842-584a-4e90-896e-bdfd8f63d6e5",
"stickerRelation_IDs": [
"f42087c6-9374-4ab8-bb74-256ce9399d67",
"f10205d9-f244-4dae-bc50-b144654a83b5"
],
"site_ID": "0139e7aa-db41-4632-bfe1-fb1be4004356"
},
"sticker_ID": "a5f7ac77-b9a4-450d-b1fd-6595d602c00f",
"stickerField_ID": "525f70fd-d731-499f-8e3f-0068a442df3a",
"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.