Purpose
Parameters
token
string
200
Authentication token for Requester (PlanOworker token).
group_order_token
string
201
Group order token to authenticate the user that uploaded the bull order.
billing_entity_slug
string
300
Unique identifying slug of billing entity.
external_property_id
string
400
Unique client property ID.
Max String Length: 255
property
hash
500
Object containing property info
-
property.location hash
Location data of the property.
-
property.property_type string
Property Type
-
property.bedrooms integer
-
property.bathrooms integer
-
property.price integer
-
property.square_footage integer
services
array
600
Services ordered.
property_access
hash
600
Object outlining the property access information
-
property_access.vacant boolean
-
property_access.method_of_access string
-
property_access.access_code string
Max String Length: 255
-
property_access.lockbox_location string
Max String Length: 255
-
property_access.preferred_date string
-
property_access.cutoff_date string
-
property_access.onsite_contact_name string
Max String Length: 255
-
property_access.onsite_contact_email string
Max String Length: 254
-
property_access.onsite_contact_phone string
order_notes
string
700
Any relevant notes for the order.
Max String Length: 1000
external_order_id
string
800
Optional client order ID metadata if the client wishes to provide it to PlanOcore to make mapping webhooks easier.
Max String Length: 255
third_party_entity
hash
900
-
third_party_entity.name string
Max String Length: 255
metadata
string
900
Optional client metadata.
Request Body Example:
application/json
Responses
action-successful
200
This status indicates that the request was successful. If the request returns data, it can be found in the data key.
invalid-token
401
This status is returned when the authentication token passed is invalid.
session-expired
401
This status is returned a session is older than seven days or hasn't been used in 72 hours. The user will need to reauthenticate. We allow our users to save a remember_me preference which will make there sessions last indefinitely.
client-required
401
This status is returned when the user makeing the request doesn't have a client, employee or liaison record. This means that they don't have any roles or permissions. Because we only allow our clients to register as a client, the user should be redirected to the PlanoAuth clients registration page where they can use the `/api/v1/users/client_register` API to register as a client. Eventhough the request will not be successful, this status will still return a `session` object because a session token is needed to register as a user.
missing-param
400
This status is returned when a required param was not passed with the request.
invalid-param
400
This status is returned when a param was invalid when passed. For example, passing an id that doesn't exist or passing an invalid email address.
application-crash
500
This status is returned when there is an internal server error. Please try again later.
mandrill-email-failed
500
This status is returned when there was an issue using Mandrill to send an email. Any time this response is returned, there will be a notification in the production notifications tab so the dev team will be away of the failure. These errors will most likely correlate with a data issue and will need to be invesigated.
invalid-content-type
400
This status is returned if the request was made with the incorrect content-type so the request params could not be read. For more infromation on content-type, please refer to https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type.
route-non-existent
500
Response returned when HTTP route does not exist.
Uncommon Responses
The responses below are not very common.
no-params-decoded
Uncommon
This status is returned the request body was decoded, but no params where found.
invalid-encoded-params
Uncommon
This status is returned when the request body could not be decoded properly. This generally means that you are requesting a sensative_params API and your request body was not base64 encoded.
route-not-found
Uncommon
This status is returned when the route record being requested hasn't been deployed yet.
identify-request-error
Uncommon
This status is returned when there is an internal server error before the route could be identified. Please try again later.
service-not-found
Uncommon
This status is returned when the route's API service record being requested hasn't been deployed yet.