OnAutomate API V1.1.1

Welcome to onautomate Api docs.

Location

GET /v1/locations/

https://link.amtssl.com/v1/locations/

Get all agency locations.

Authorization:


Provide your location api key (Bearer Token).

AUTHORIZATION

Bearer Token

Token

<token>

Example Request

curl --location --request GET 'https://link.amtssl.com/v1/locations/' \

--header 'Authorization: Bearer <token>'

Example Response

Bad Request. please contact support!

Unauthorized

400 Bad Request

BODY

{

"msg": "Bad Request"

}

401 Unauthorized

BODY

{

"msg": "Unauthorized"

}

Headers

Content-Type: application/json

Headers

Content-Type: application/json

Successful response

200 OK

BODY

{ "locations": [ { "id": "i2SpAtBVHSVea1sL6oah", "name": "Tesla inc", "address": "3500 Deer Creek Road", "city": "Palo Alto", "country": "US", "state": "CA", "postalCode": "94304", "website": "https://www.tesla.com", "timezone": "US/Central", "firstName": "John", "lastName": "Deo", "email": "john@deo.com", "phone": "+1202-555-0107", "apiKey": "2c359c82-590a-4d6f-ac76-32b7a1e649ea", "business": { "name": "Tesla inc", "address": "3500 Deer Creek Road", "city": "Palo Alto", "country": "US", "state": "CA", "postalCode": "94304", "website": "https://www.tesla.com", "timezone": "US/Central" }, "social": { "facebookUrl": "https://facebook.com/groups/XXX", "googlePlus": "https://groups.google.com/d/XXX", "linkedIn": "https://www.linkedin.com/groups/XXX/profile", "foursquare": "https://foursquare.com/groups/XXX", "twitter": "https://twitter.com/XXX", "yelp": "https://yelp.com/XXX", "instagram": "https://instagram.com/XXX", "youtube": "https://youtube.com/XXX", "pinterest": "https://pinterest.com/XXX", "blogRss": "https://rss.xyz.com", "googlePlaceId": "redfdfdere" }, "settings": { "allowDuplicateContact": false, "allowDuplicateOpportunity": false, "allowFacebookNameMerge": false, "disableContactTimezone": false } }, { "id": "i2SpAtBVHSVea1sL6oah", "name": "Tesla inc", "address": "3500 Deer Creek Road", "city": "Palo Alto", "country": "US", "state": "CA", "postalCode": "94304", "website": "https://www.tesla.com", "timezone": "US/Central", "firstName": "John", "lastName": "Deo", "email": "john@deo.com", "phone": "+1202-555-0107", "apiKey": "2c359c82-590a-4d6f-ac76-32b7a1e649ea", "business": { "name": "Tesla inc", "address": "3500 Deer Creek Road", "city": "Palo Alto", "country": "US", "state": "CA", "postalCode": "94304", "website": "https://www.tesla.com", "timezone": "US/Central" }, "social": { "facebookUrl": "https://facebook.com/groups/XXX", "googlePlus": "https://groups.google.com/d/XXX", "linkedIn": "https://www.linkedin.com/groups/XXX/profile", "foursquare": "https://foursquare.com/groups/XXX", "twitter": "https://twitter.com/XXX", "yelp": "https://yelp.com/XXX", "instagram": "https://instagram.com/XXX", "youtube": "https://youtube.com/XXX", "pinterest": "https://pinterest.com/XXX", "blogRss": "https://rss.xyz.com", "googlePlaceId": "redfdfdere" }, "settings": { "allowDuplicateContact": false, "allowDuplicateOpportunity": false, "allowFacebookNameMerge": false, "disableContactTimezone": false } } ] }

Headers

Content-Type: application/json

POST /v1/locations/

https://link.amtssl.com/v1/locations/

Create a Location.

VALIDATIONS:

These field are required to create a location

  • email
  • businessName
  • address
  • city
  • country
  • state
  • postalCode
  • phone

SNAPSHOTS:

API will allow you to import snapshots on create location. for the importing snapshot below field are required.

{ "snapshot": { "id": "xxx" "type": "vertical" } }

Field Description

1. id: Snapshot id you can find from snapshot api.

2. type: Type also you can find from snapshot api. we allow 3 types:

  • vertical
  • own
  • imported

TWILIO:

API will allow to authenticate your Twilio account with new location. For the authentication Twilio account required below fields.

{ "twilio": { "sid": "xxx" "authToken": "xxx" } }

Field Description

1. sid: Twilio Account SID

2. authToken: Twilio Auth Token

TIMEZONE:

We will allow these option.

Etc/GMT+12,

Pacific/Midway,

Pacific/Honolulu,

America/Juneau,

US/Alaska,

America/Dawson,

America/Los_Angeles,

America/Phoenix,

America/Tijuana,

US/Arizona,

America/Belize,

America/Boise,

America/Chihuahua,

America/Denver,

America/Edmonton,

America/Guatemala,

America/Managua,

America/Regina,

Canada/Saskatchewan,

US/Mountain,

America/Bahia_Banderas,

America/Bogota,

America/Chicago,

America/Mexico_City,

US/Central,

America/Caracas,

America/Detroit,

America/Indiana/Indianapolis,

America/Louisville,

America/Manaus,

America/New_York,

America/Santiago,

America/Santo_Domingo,

America/Toronto,

US/East-Indiana,

US/Eastern,

America/Argentina/Buenos_Aires,

America/Glace_Bay,

America/Montevideo,

America/Sao_Paulo,

Canada/Atlantic,

America/St_Johns,

Canada/Newfoundland,

America/Godthab,

America/Noronha,

Etc/GMT+2,

Atlantic/Cape_Verde,

Atlantic/Azores,

Etc/Greenwich,

GMT,

UTC,

Africa/Algiers,

Africa/Casablanca,

Africa/Lagos,

Atlantic/Canary,

Europe/London,

Africa/Cairo,

Africa/Harare,

Europe/Amsterdam,

Europe/Belgrade,

Europe/Brussels,

Europe/Madrid,

Europe/Oslo,

Europe/Sarajevo,

Africa/Nairobi,

Asia/Amman,

Asia/Baghdad,

Asia/Jerusalem,

Asia/Kuwait,

Asia/Qatar,

Europe/Athens,

Europe/Bucharest,

Europe/Helsinki,

Europe/Moscow,

Asia/Baku,

Asia/Dubai,

Asia/Kabul,

Asia/Tehran,

Asia/Karachi,

Asia/Yekaterinburg,

Asia/Colombo,

Asia/Kolkata,

Asia/Kathmandu,

Asia/Almaty,

Asia/Dhaka,

Asia/Rangoon,

Asia/Bangkok,

Asia/Krasnoyarsk,

Asia/Irkutsk,

Asia/Kuala_Lumpur,

Asia/Shanghai,

Asia/Taipei,

Australia/Perth,

Asia/Seoul,

Asia/Tokyo,

Asia/Yakutsk,

Australia/Adelaide,

Australia/Darwin,

Asia/Vladivostok,

Australia/Brisbane,

Australia/Canberra,

Australia/Hobart,

Australia/Sydney,

Pacific/Guam,

Asia/Magadan,

Pacific/Auckland,

Pacific/Fiji,

Pacific/Tongatapu

Authorization:

Provide your agency api key (Bearer Token). You can find it on Agency -> Settings -> API keys

AUTHORIZATION

Bearer Token

Token

<token>

HEADERS

Content-Type

application/json

BODY raw

{ "email": "john@deo.com", "phone": "+1202-555-0107", "businessName": "Tesla inc", "address": "3500 Deer Creek Road", "city": "Palo Alto", "state": "CA", "country": "US", "postalCode": "94304", "website": "https://www.tesla.com", "timezone": "US/Central", "firstName": "John", "lastName": "Deo", "settings": { "allowDuplicateContact": false, "allowDuplicateOpportunity": false, "allowFacebookNameMerge": false, "disableContactTimezone": false }, "twilio": { "sid": "AC_XXXXXXXXXXX", "authToken": "77_XXXXXXXXXXX" }, "snapshot": { "id": "XXXXXXXXXXX", "type": "vertical" }, "social": { "facebookUrl": "https://facebook.com/groups/XXX", "googlePlus": "https://groups.google.com/d/XXX", "linkedIn": "https://www.linkedin.com/groups/XXX/profile", "foursquare": "https://foursquare.com/groups/XXX", "twitter": "https://twitter.com/XXX", "yelp": "https://yelp.com/XXX", "instagram": "https://instagram.com/XXX", "youtube": "https://youtube.com/XXX", "pinterest": "https://pinterest.com/XXX", "blogRss": "https://rss.xyz.com", "googlePlaceId": "redfdfdere" } }

Example Request

curl --location --request POST 'https://link.amtssl.com/v1/locations/' \ --header 'Authorization: Bearer ' \ --data-raw '{ "email": "john@deo.com", "phone": "+1202-555-0107", "businessName": "Tesla inc", "address": "3500 Deer Creek Road", "city": "Palo Alto", "state": "CA", "country": "US", "postalCode": "94304", "website": "https://www.tesla.com", "timezone": "US/Central", "firstName": "John", "lastName": "Deo", "settings": { "allowDuplicateContact": false, "allowDuplicateOpportunity": false, "allowFacebookNameMerge": false, "disableContactTimezone": false }, "twilio": { "sid": "AC_XXXXXXXXXXX", "authToken": "77_XXXXXXXXXXX" }, "snapshot": { "id": "XXXXXXXXXXX", "type": "vertical" }, "social": { "facebookUrl": "https://facebook.com/groups/XXX", "googlePlus": "https://groups.google.com/d/XXX", "linkedIn": "https://www.linkedin.com/groups/XXX/profile", "foursquare": "https://foursquare.com/groups/XXX", "twitter": "https://twitter.com/XXX", "yelp": "https://yelp.com/XXX", "instagram": "https://instagram.com/XXX", "youtube": "https://youtube.com/XXX", "pinterest": "https://pinterest.com/XXX", "blogRss": "https://rss.xyz.com", "googlePlaceId": "redfdfdere" } }'

Example Response

Bad Request. please contact support!

Unauthorized

400 Bad Request

Body

{

"msg": "Bad Request"

}

401 Unauthorized

Body

{

"msg": "Unauthorized"

}

Headers

Content-Type: application/json

Headers

Content-Type: application/json

Successful Response

200 OK

BODY

{ "id": "i2SpAtBVHSVea1sL6oah", "name": "Tesla inc", "address": "3500 Deer Creek Road", "city": "Palo Alto", "country": "US", "state": "CA", "postalCode": "94304", "website": "https://www.tesla.com", "timezone": "US/Central", "firstName": "John", "lastName": "Deo", "email": "john@deo.com", "phone": "+1202-555-0107", "apiKey": "2c359c82-590a-4d6f-ac76-32b7a1e649ea", "business": { "name": "Tesla inc", "address": "3500 Deer Creek Road", "city": "Palo Alto", "country": "US", "state": "CA", "postalCode": "94304", "website": "https://www.tesla.com", "timezone": "US/Central" }, "social": { "facebookUrl": "https://facebook.com/groups/XXX", "googlePlus": "https://groups.google.com/d/XXX", "linkedIn": "https://www.linkedin.com/groups/XXX/profile", "foursquare": "https://foursquare.com/groups/XXX", "twitter": "https://twitter.com/XXX", "yelp": "https://yelp.com/XXX", "instagram": "https://instagram.com/XXX", "youtube": "https://youtube.com/XXX", "pinterest": "https://pinterest.com/XXX", "blogRss": "https://rss.xyz.com", "googlePlaceId": "redfdfdere" }, "settings": { "allowDuplicateContact": false, "allowDuplicateOpportunity": false, "allowFacebookNameMerge": false, "disableContactTimezone": false } }

Headers

Content-Type: application/json

Unprocessable Entity

422 Unprocessable Entity (WebDAV) (RFC 4918)

{ "firstName": { "message": "The first name field is mandatory.", "rule": "required" }, "lastName": { "message": "The last name field is mandatory.", "rule": "required" }, "email": { "message": "The email field is mandatory.", "rule": "required" }, "phone": { "message": "The email field is mandatory.", "rule": "required" }, "businessName": { "message": "The business name field is mandatory.", "rule": "required" }, "address": { "message": "The address field is mandatory.", "rule": "required" }, "city": { "message": "The city field is mandatory.", "rule": "required" }, "state": { "message": "The state field is mandatory.", "rule": "required" }, "country": { "message": "The country field is mandatory.", "rule": "required" }, "postalCode": { "message": "The postal code field is mandatory.", "rule": "required" } }

Headers

Content-Type: application/json

GET /v1/locations/:locationId

https://link.amtssl.com/v1/locations/:locationId

Get location by location id.

Authorization:

Provide your agency api key (Bearer Token). You can find it on Agency -> Settings -> API keys

AUTHORIZATION

Bearer Token

Token

<token>

PATH VARIABLES

customValueId

i2SpAtBVHSVea1sL6oah

(Required) Location Id

Example Request

curl --location --request GET 'https://link.amtssl.com/v1/locations/:locationId' \

--header 'Authorization: Bearer <token>'

Example Response

Bad Request. please contact support!

Unauthorized

400 Bad Request

BODY

{

"msg": "Bad Request"

}

401 Unauthorized

BODY

{

"msg": "Unauthorized"

}

Headers

Content-Type: application/json

Headers

Content-Type: application/json

Successful Response

200 OK

BODY

{ "id": "i2SpAtBVHSVea1sL6oah", "name": "Tesla inc", "address": "3500 Deer Creek Road", "city": "Palo Alto", "country": "US", "state": "CA", "postalCode": "94304", "website": "https://www.tesla.com", "timezone": "US/Central", "firstName": "John", "lastName": "Deo", "email": "john@deo.com", "phone": "+1202-555-0107", "apiKey": "2c359c82-590a-4d6f-ac76-32b7a1e649ea", "business": { "name": "Tesla inc", "address": "3500 Deer Creek Road", "city": "Palo Alto", "country": "US", "state": "CA", "postalCode": "94304", "website": "https://www.tesla.com", "timezone": "US/Central" }, "social": { "facebookUrl": "https://facebook.com/groups/XXX", "googlePlus": "https://groups.google.com/d/XXX", "linkedIn": "https://www.linkedin.com/groups/XXX/profile", "foursquare": "https://foursquare.com/groups/XXX", "twitter": "https://twitter.com/XXX", "yelp": "https://yelp.com/XXX", "instagram": "https://instagram.com/XXX", "youtube": "https://youtube.com/XXX", "pinterest": "https://pinterest.com/XXX", "blogRss": "https://rss.xyz.com", "googlePlaceId": "redfdfdere" }, "settings": { "allowDuplicateContact": false, "allowDuplicateOpportunity": false, "allowFacebookNameMerge": false, "disableContactTimezone": false } }

Headers

Content-Type: application/json

PUT /v1/locations/:locationId

https://link.amtssl.com/v1/locations/:locationId

Update a Location.

VALIDATIONS:

These field are required to update a location

  • email
  • businessName
  • address
  • city
  • country
  • state
  • postalCode
  • phone

TIMEZONE:

We will allow these option.

Etc/GMT+12,

Pacific/Midway,

Pacific/Honolulu,

America/Juneau,

US/Alaska,

America/Dawson,

America/Los_Angeles,

America/Phoenix,

America/Tijuana,

US/Arizona,

America/Belize,

America/Boise,

America/Chihuahua,

America/Denver,

America/Edmonton,

America/Guatemala,

America/Managua,

America/Regina,

Canada/Saskatchewan,

US/Mountain,

America/Bahia_Banderas,

America/Bogota,

America/Chicago,

America/Mexico_City,

US/Central,

America/Caracas,

America/Detroit,

America/Indiana/Indianapolis,

America/Louisville,

America/Manaus,

America/New_York,

America/Santiago,

America/Santo_Domingo,

America/Toronto,

US/East-Indiana,

US/Eastern,

America/Argentina/Buenos_Aires,

America/Glace_Bay,

America/Montevideo,

America/Sao_Paulo,

Canada/Atlantic,

America/St_Johns,

Canada/Newfoundland,

America/Godthab,

America/Noronha,

Etc/GMT+2,

Atlantic/Cape_Verde,

Atlantic/Azores,

Etc/Greenwich,

GMT,

UTC,

Africa/Algiers,

Africa/Casablanca,

Africa/Lagos,

Atlantic/Canary,

Europe/London,

Africa/Cairo,

Africa/Harare,

Europe/Amsterdam,

Europe/Belgrade,

Europe/Brussels,

Europe/Madrid,

Europe/Oslo,

Europe/Sarajevo,

Africa/Nairobi,

Asia/Amman,

Asia/Baghdad,

Asia/Jerusalem,

Asia/Kuwait,

Asia/Qatar,

Europe/Athens,

Europe/Bucharest,

Europe/Helsinki,

Europe/Moscow,

Asia/Baku,

Asia/Dubai,

Asia/Kabul,

Asia/Tehran,

Asia/Karachi,

Asia/Yekaterinburg,

Asia/Colombo,

Asia/Kolkata,

Asia/Kathmandu,

Asia/Almaty,

Asia/Dhaka,

Asia/Rangoon,

Asia/Bangkok,

Asia/Krasnoyarsk,

Asia/Irkutsk,

Asia/Kuala_Lumpur,

Asia/Shanghai,

Asia/Taipei,

Australia/Perth,

Asia/Seoul,

Asia/Tokyo,

Asia/Yakutsk,

Australia/Adelaide,

Australia/Darwin,

Asia/Vladivostok,

Australia/Brisbane,

Australia/Canberra,

Australia/Hobart,

Australia/Sydney,

Pacific/Guam,

Asia/Magadan,

Pacific/Auckland,

Pacific/Fiji,

Pacific/Tongatapu

Authorization:

Provide your agency api key (Bearer Token). You can find it on Agency -> Settings -> API keys

AUTHORIZATION

Bearer Token

Token

<token>

HEADERS

Content-Type

application/json

PATH VARIABLES

locationId

i2SpAtBVHSVea1sL6oah

(Required) Location Id

BODY raw

{ "email": "john@deo.com", "phone": "+1202-555-0107", "businessName": "Tesla inc", "address": "3500 Deer Creek Road", "city": "Palo Alto", "state": "CA", "country": "US", "postalCode": "94304", "website": "https://www.tesla.com", "timezone": "US/Central", "firstName": "John", "lastName": "Deo", "settings": { "allowDuplicateContact": false, "allowDuplicateOpportunity": false, "allowFacebookNameMerge": false, "disableContactTimezone": false }, "twilio": { "sid": "AC_XXXXXXXXXXX", "authToken": "77_XXXXXXXXXXX" }, "snapshot": { "id": "XXXXXXXXXXX", "type": "vertical" }, "social": { "facebookUrl": "https://facebook.com/groups/XXX", "googlePlus": "https://groups.google.com/d/XXX", "linkedIn": "https://www.linkedin.com/groups/XXX/profile", "foursquare": "https://foursquare.com/groups/XXX", "twitter": "https://twitter.com/XXX", "yelp": "https://yelp.com/XXX", "instagram": "https://instagram.com/XXX", "youtube": "https://youtube.com/XXX", "pinterest": "https://pinterest.com/XXX", "blogRss": "https://rss.xyz.com", "googlePlaceId": "redfdfdere" } }

Example Request

curl --location --request POST 'https://link.amtssl.com/v1/locations/' \ --header 'Authorization: Bearer ' \ --data-raw '{ "email": "john@deo.com", "phone": "+1202-555-0107", "businessName": "Tesla inc", "address": "3500 Deer Creek Road", "city": "Palo Alto", "state": "CA", "country": "US", "postalCode": "94304", "website": "https://www.tesla.com", "timezone": "US/Central", "firstName": "John", "lastName": "Deo", "settings": { "allowDuplicateContact": false, "allowDuplicateOpportunity": false, "allowFacebookNameMerge": false, "disableContactTimezone": false }, "twilio": { "sid": "AC_XXXXXXXXXXX", "authToken": "77_XXXXXXXXXXX" }, "snapshot": { "id": "XXXXXXXXXXX", "type": "vertical" }, "social": { "facebookUrl": "https://facebook.com/groups/XXX", "googlePlus": "https://groups.google.com/d/XXX", "linkedIn": "https://www.linkedin.com/groups/XXX/profile", "foursquare": "https://foursquare.com/groups/XXX", "twitter": "https://twitter.com/XXX", "yelp": "https://yelp.com/XXX", "instagram": "https://instagram.com/XXX", "youtube": "https://youtube.com/XXX", "pinterest": "https://pinterest.com/XXX", "blogRss": "https://rss.xyz.com", "googlePlaceId": "redfdfdere" } }'

Example Response

Bad Request. please contact support!

Unauthorized

400 Bad Request

Body

{

"msg": "Bad Request"

}

401 Unauthorized

Body

{

"msg": "Unauthorized"

}

Headers

Content-Type: application/json

Headers

Content-Type: application/json

Successful Response

200 OK

BODY

{ "id": "i2SpAtBVHSVea1sL6oah", "name": "Tesla inc", "address": "3500 Deer Creek Road", "city": "Palo Alto", "country": "US", "state": "CA", "postalCode": "94304", "website": "https://www.tesla.com", "timezone": "US/Central", "firstName": "John", "lastName": "Deo", "email": "john@deo.com", "phone": "+1202-555-0107", "apiKey": "2c359c82-590a-4d6f-ac76-32b7a1e649ea", "business": { "name": "Tesla inc", "address": "3500 Deer Creek Road", "city": "Palo Alto", "country": "US", "state": "CA", "postalCode": "94304", "website": "https://www.tesla.com", "timezone": "US/Central" }, "social": { "facebookUrl": "https://facebook.com/groups/XXX", "googlePlus": "https://groups.google.com/d/XXX", "linkedIn": "https://www.linkedin.com/groups/XXX/profile", "foursquare": "https://foursquare.com/groups/XXX", "twitter": "https://twitter.com/XXX", "yelp": "https://yelp.com/XXX", "instagram": "https://instagram.com/XXX", "youtube": "https://youtube.com/XXX", "pinterest": "https://pinterest.com/XXX", "blogRss": "https://rss.xyz.com", "googlePlaceId": "redfdfdere" }, "settings": { "allowDuplicateContact": false, "allowDuplicateOpportunity": false, "allowFacebookNameMerge": false, "disableContactTimezone": false } }

Headers

Content-Type: application/json

Unprocessable Entity

422 Unprocessable Entity (WebDAV) (RFC 4918)

BODY

{ "firstName": { "message": "The first name field is mandatory.", "rule": "required" }, "lastName": { "message": "The last name field is mandatory.", "rule": "required" }, "email": { "message": "The email field is mandatory.", "rule": "required" }, "phone": { "message": "The email field is mandatory.", "rule": "required" }, "businessName": { "message": "The business name field is mandatory.", "rule": "required" }, "address": { "message": "The address field is mandatory.", "rule": "required" }, "city": { "message": "The city field is mandatory.", "rule": "required" }, "state": { "message": "The state field is mandatory.", "rule": "required" }, "country": { "message": "The country field is mandatory.", "rule": "required" }, "postalCode": { "message": "The postal code field is mandatory.", "rule": "required" } }

Headers

Content-Type: application/json

PUT /v1/custom-values/:customValueId

https://link.amtssl.com/v1/locations/:locationId/load-snapshot/:snapshotId

Load Snapshot.

FIELDS

1. override*: We will allow true or false. If you want override all conflict assets then pass true. By default it false. By default it false

AUTHORIZATION:

Provide your agency api key (Bearer Token). You can find it on Agency -> Settings -> API keys

AUTHORIZATION

Bearer Token

Token

<token>

HEADERS

Content-Type

application/json

PATH VARIABLES

locationId

i2SpAtBVHSVea1sL6oah

(Required) Location Id

snapshotId

5bFKHqudfotv3c1xFUuP

(Required) Snapshot Id

BODY raw

{

"override": false

}

Example Request

curl --location --request PUT 'https://link.amtssl.com/v1/locations/:locationId/load-snapshot/:snapshotId' \

--header 'Authorization: Bearer <token>' \

--data-raw '{

"override": false

}'

Example Response

Successful response

Bad Request. please contact support!

Unauthorized

200 OK

BODY

{

"msg": "Copying the data, we will send a notification once it's completed."

}

200 OK

BODY

{

"msg": "Copying the data, we will send a notification once it's completed."

}

200 OK

BODY

{

"msg": "Copying the data, we will send a notification once it's completed."

}

Headers

Content-Type: application/json

Headers

Content-Type: application/json

Headers

Content-Type: application/json

Unprocessable Entity

422 Unprocessable Entity (WebDAV) (RFC 4918)

BODY

{ "firstName": { "message": "The first name field is mandatory.", "rule": "required" }, "lastName": { "message": "The last name field is mandatory.", "rule": "required" }, "email": { "message": "The email field is mandatory.", "rule": "required" }, "phone": { "message": "The email field is mandatory.", "rule": "required" }, "businessName": { "message": "The business name field is mandatory.", "rule": "required" }, "address": { "message": "The address field is mandatory.", "rule": "required" }, "city": { "message": "The city field is mandatory.", "rule": "required" }, "state": { "message": "The state field is mandatory.", "rule": "required" }, "country": { "message": "The country field is mandatory.", "rule": "required" }, "postalCode": { "message": "The postal code field is mandatory.", "rule": "required" } }

Headers

Content-Type: application/json