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": "e1a527df-668c-406e-b2b4-d5b9e9353648",
"isProductionSite": true,
"isStatic": true,
"separator": "sample string 6",
"stickerType_ID": "705b3e9a-ebcf-4fe4-9783-0882faa06607",
"technicalDescription": "sample string 8"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "493fd843-549f-4315-ae52-97dcd776012a",
"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": "3d88c887-771c-4501-b080-c459e524f3fb",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "2a9c9ec1-1681-4924-80b9-0a7594671123",
"contractItem_ID": "9405a9ad-703d-4a04-bc16-fd61efde9254",
"departement_ID": "a47de34a-77f3-4c93-a1b2-e8b767103321",
"departmentItem_ID": "d93777c1-f709-4983-9db7-e23777c02bde",
"iD": "59950a39-68ab-4708-92af-ed4307953078",
"site_ID": "b8baccb5-c4d2-4bf5-aa00-423a5724dd5a",
"siteCustomer_ID": "c0ce9364-468d-40cb-b787-069004efac63",
"sticker_ID": "2d62a781-4d2a-4322-89c2-0ac176c7598e",
"garment_ID": "54a4d406-80d3-47f9-bc30-4f903459e9bc"
},
{
"active": true,
"contract_ID": "2a9c9ec1-1681-4924-80b9-0a7594671123",
"contractItem_ID": "9405a9ad-703d-4a04-bc16-fd61efde9254",
"departement_ID": "a47de34a-77f3-4c93-a1b2-e8b767103321",
"departmentItem_ID": "d93777c1-f709-4983-9db7-e23777c02bde",
"iD": "59950a39-68ab-4708-92af-ed4307953078",
"site_ID": "b8baccb5-c4d2-4bf5-aa00-423a5724dd5a",
"siteCustomer_ID": "c0ce9364-468d-40cb-b787-069004efac63",
"sticker_ID": "2d62a781-4d2a-4322-89c2-0ac176c7598e",
"garment_ID": "54a4d406-80d3-47f9-bc30-4f903459e9bc"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "0f201886-ce5d-4bed-9702-c0b8b51b29d5",
"stickerType_ID": "b66574af-b400-4c14-b63d-8bc98602b613",
"stickerRelation_IDs": [
"35d74cf5-f4a7-4436-8eb8-6ce515f66348",
"5cfbb918-a1b4-4b91-a2b5-f4695831df47"
],
"site_ID": "e6703d1e-602f-4d7a-af6a-7cc2ba6b2f11"
},
"sticker_ID": "f1ddd872-8fde-45cf-bf6a-79dbba9c2475",
"stickerField_ID": "8d7a1362-e6b0-426a-b1bf-17c85c7a7194",
"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": "e1a527df-668c-406e-b2b4-d5b9e9353648",
"isProductionSite": true,
"isStatic": true,
"separator": "sample string 6",
"stickerType_ID": "705b3e9a-ebcf-4fe4-9783-0882faa06607",
"technicalDescription": "sample string 8"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "493fd843-549f-4315-ae52-97dcd776012a",
"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": "3d88c887-771c-4501-b080-c459e524f3fb",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "2a9c9ec1-1681-4924-80b9-0a7594671123",
"contractItem_ID": "9405a9ad-703d-4a04-bc16-fd61efde9254",
"departement_ID": "a47de34a-77f3-4c93-a1b2-e8b767103321",
"departmentItem_ID": "d93777c1-f709-4983-9db7-e23777c02bde",
"iD": "59950a39-68ab-4708-92af-ed4307953078",
"site_ID": "b8baccb5-c4d2-4bf5-aa00-423a5724dd5a",
"siteCustomer_ID": "c0ce9364-468d-40cb-b787-069004efac63",
"sticker_ID": "2d62a781-4d2a-4322-89c2-0ac176c7598e",
"garment_ID": "54a4d406-80d3-47f9-bc30-4f903459e9bc"
},
{
"active": true,
"contract_ID": "2a9c9ec1-1681-4924-80b9-0a7594671123",
"contractItem_ID": "9405a9ad-703d-4a04-bc16-fd61efde9254",
"departement_ID": "a47de34a-77f3-4c93-a1b2-e8b767103321",
"departmentItem_ID": "d93777c1-f709-4983-9db7-e23777c02bde",
"iD": "59950a39-68ab-4708-92af-ed4307953078",
"site_ID": "b8baccb5-c4d2-4bf5-aa00-423a5724dd5a",
"siteCustomer_ID": "c0ce9364-468d-40cb-b787-069004efac63",
"sticker_ID": "2d62a781-4d2a-4322-89c2-0ac176c7598e",
"garment_ID": "54a4d406-80d3-47f9-bc30-4f903459e9bc"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "0f201886-ce5d-4bed-9702-c0b8b51b29d5",
"stickerType_ID": "b66574af-b400-4c14-b63d-8bc98602b613",
"stickerRelation_IDs": [
"35d74cf5-f4a7-4436-8eb8-6ce515f66348",
"5cfbb918-a1b4-4b91-a2b5-f4695831df47"
],
"site_ID": "e6703d1e-602f-4d7a-af6a-7cc2ba6b2f11"
},
"sticker_ID": "f1ddd872-8fde-45cf-bf6a-79dbba9c2475",
"stickerField_ID": "8d7a1362-e6b0-426a-b1bf-17c85c7a7194",
"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.