Updates an existing site’s information and configuration.
[USER]MANAGERBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Content type, must be "application/json".
"application/json"Session token used for authenticating the request.
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxMjM0NTY3ODkwIiwic2Vzc2lvbklkIjoiYWJjZGVmMTIzNDU2IiwiaWF0IjoxNjA1MDk3ODk5LCJleHAiOjE2MDUxODQyOTl9.4XRQ1iXDyvEj5LgPZHbmTmzOZs98M3YPOzgf3MhxjaI"
Unique identifier of the site.
-9007199254740991 <= x <= 90071992547409911
Details required to update a site
Name of the site.
250"Main site"
Serial number of the site.
10"123456"
Types associated with the site (N, P, M, etc.).
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 [1, 1]Classifications associated with the site (ERT, ERP, etc.).
50["ERT", "ERP"]Unique identifiers of the associated tags.
-9007199254740991 <= x <= 9007199254740991[1, 2, 3]The site was successfully updated
Unique identifier of the site.
-9007199254740991 <= x <= 90071992547409911
Name of the site.
250"Main site"
Types associated with the site (N, P, M, etc.).
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 [1, 1]Classifications associated with the site (ERT, ERP, etc.).
50["ERT", "ERP"]Indicates whether the site is an establishment.
true
Serial number of the site.
10"123456"
Sort order of the site for display purposes.
-9007199254740991 <= x <= 90071992547409911
Identifier of the establishment associated with the site.
-9007199254740991 <= x <= 900719925474099110
Date when the site was archived.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$"2024-12-10T10:00:00.000Z"
Date of the site update.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$"2024-12-09T14:23:00.000Z"
Date of site creation.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$"2024-01-15T08:45:00.000Z"