Skip to content

area information dates

robert-valueguard edited this page Mar 11, 2024 · 1 revision

The code below gives an example of how to use the client to get area information dates data

import valueguard

vgClient = valueguard.Client()
vgClient.authenticate("<username>", "<password>")

print(vgClient.area_information_dates(search_criteria={
"field_ids":1,
"category_ids":2
}))

Field list

Field name Description Example
valid_from The date where the area information is valid from 2023-09-01
valid_to The date where the area information is valid to 2023-09-30

Search criteria fields

Field name Description Example
field_ids ID of field 1
category_ids ID of category 2

Raw request

Get

curl https://api.valueguard.se/v1/area/information/dates?access_token={access_token}&field_ids={id}&category_ids={id}
Clone this wiki locally