Skip to main content
POST
/
api
/
zefix
/
register-offices
/zefix/register-offices
curl --request POST \
  --url https://api.anysite.io/api/zefix/register-offices \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '{
  "timeout": 300
}'
[
  {
    "@type": "@zefix_register_office",
    "id": 123,
    "canton": "<string>",
    "name": "<string>",
    "address": [
      "<string>"
    ],
    "contact": "<string>",
    "phone": "<string>",
    "email": [
      "<string>"
    ],
    "opening_hours": "<string>",
    "homepage": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

@type
string
default:@zefix_register_office
id
integer | null
canton
string | null
name
string | null
address
string[]
contact
string | null
phone
string | null
email
string[]
opening_hours
string | null
homepage
string | null