Base URL
https://primorasystems.com/api
Use
Authorization: Bearer <token> for routes marked AUTH.
ADMIN_LOGS
Method
Path
Name
Actions
GETAUTH
/api/admin_logs
admin_logs.index
POSTAUTH
/api/admin_logs
admin_logs.store
GETAUTH
/api/admin_logs/{admin_log}
admin_logs.show
PUTAUTH
/api/admin_logs/{admin_log}
admin_logs.update
PATCHAUTH
/api/admin_logs/{admin_log}
admin_logs.update
DELETEAUTH
/api/admin_logs/{admin_log}
admin_logs.destroy
APITEST
Method
Path
Name
Actions
APPOINTMENTS
Method
Path
Name
Actions
GETAUTH
/api/appointments
appointments.index
POSTAUTH
/api/appointments
appointments.store
GETAUTH
/api/appointments/{appointment}
appointments.show
PUTAUTH
/api/appointments/{appointment}
appointments.update
PATCHAUTH
/api/appointments/{appointment}
appointments.update
DELETEAUTH
/api/appointments/{appointment}
appointments.destroy
BUILDINGS
Method
Path
Name
Actions
GETAUTH
/api/buildings
buildings.index
POSTAUTH
/api/buildings
buildings.store
GETAUTH
/api/buildings/{building}
buildings.show
PUTAUTH
/api/buildings/{building}
buildings.update
PATCHAUTH
/api/buildings/{building}
buildings.update
DELETEAUTH
/api/buildings/{building}
buildings.destroy
CHAT_MESSAGES
Method
Path
Name
Actions
GETAUTH
/api/chat_messages
chat_messages.index
POSTAUTH
/api/chat_messages
chat_messages.store
GETAUTH
/api/chat_messages/{chat_message}
chat_messages.show
PUTAUTH
/api/chat_messages/{chat_message}
chat_messages.update
PATCHAUTH
/api/chat_messages/{chat_message}
chat_messages.update
DELETEAUTH
/api/chat_messages/{chat_message}
chat_messages.destroy
CHAT_THREADS
Method
Path
Name
Actions
GETAUTH
/api/chat_threads
chat_threads.index
POSTAUTH
/api/chat_threads
chat_threads.store
GETAUTH
/api/chat_threads/{chat_thread}
chat_threads.show
PUTAUTH
/api/chat_threads/{chat_thread}
chat_threads.update
PATCHAUTH
/api/chat_threads/{chat_thread}
chat_threads.update
DELETEAUTH
/api/chat_threads/{chat_thread}
chat_threads.destroy
DOCS
Method
Path
Name
Actions
DOCUMENTS
Method
Path
Name
Actions
GETAUTH
/api/documents
documents.index
POSTAUTH
/api/documents
documents.store
GETAUTH
/api/documents/{document}
documents.show
PUTAUTH
/api/documents/{document}
documents.update
PATCHAUTH
/api/documents/{document}
documents.update
DELETEAUTH
/api/documents/{document}
documents.destroy
FAVORITES
Method
Path
Name
Actions
GETAUTH
/api/favorites
favorites.index
POSTAUTH
/api/favorites
favorites.store
GETAUTH
/api/favorites/{favorite}
favorites.show
PUTAUTH
/api/favorites/{favorite}
favorites.update
PATCHAUTH
/api/favorites/{favorite}
favorites.update
DELETEAUTH
/api/favorites/{favorite}
favorites.destroy
KYC_VERIFICATIONS
Method
Path
Name
Actions
GETAUTH
/api/kyc_verifications
kyc_verifications.index
POSTAUTH
/api/kyc_verifications
kyc_verifications.store
GETAUTH
/api/kyc_verifications/{kyc_verification}
kyc_verifications.show
PUTAUTH
/api/kyc_verifications/{kyc_verification}
kyc_verifications.update
PATCHAUTH
/api/kyc_verifications/{kyc_verification}
kyc_verifications.update
DELETEAUTH
/api/kyc_verifications/{kyc_verification}
kyc_verifications.destroy
LANDS
Method
Path
Name
Actions
GETAUTH
/api/lands
lands.index
POSTAUTH
/api/lands
lands.store
GETAUTH
/api/lands/{land}
lands.show
PUTAUTH
/api/lands/{land}
lands.update
PATCHAUTH
/api/lands/{land}
lands.update
DELETEAUTH
/api/lands/{land}
lands.destroy
LOGIN
Method
Path
Name
Actions
POST
/api/login
—
Example
# Login (returns {"token":"..."})
curl -s -X POST "https://primorasystems.com/api/login" \
-H "Content-Type: application/json" \
-d '{"email":"ada@example.com","password":"password123"}'
# Authenticated example:
curl -H "Authorization: Bearer <TOKEN>" "https://primorasystems.com/api/properties"
LOGOUT
Method
Path
Name
Actions
POSTAUTH
/api/logout
—
NOTIFICATIONS
Method
Path
Name
Actions
GETAUTH
/api/notifications
notifications.index
POSTAUTH
/api/notifications
notifications.store
GETAUTH
/api/notifications/{notification}
notifications.show
PUTAUTH
/api/notifications/{notification}
notifications.update
PATCHAUTH
/api/notifications/{notification}
notifications.update
DELETEAUTH
/api/notifications/{notification}
notifications.destroy
OFFERS
Method
Path
Name
Actions
GETAUTH
/api/offers
offers.index
POSTAUTH
/api/offers
offers.store
GETAUTH
/api/offers/{offer}
offers.show
PUTAUTH
/api/offers/{offer}
offers.update
PATCHAUTH
/api/offers/{offer}
offers.update
DELETEAUTH
/api/offers/{offer}
offers.destroy
PAYMENT_TERMS
Method
Path
Name
Actions
GETAUTH
/api/payment_terms
payment_terms.index
POSTAUTH
/api/payment_terms
payment_terms.store
GETAUTH
/api/payment_terms/{payment_term}
payment_terms.show
PUTAUTH
/api/payment_terms/{payment_term}
payment_terms.update
PATCHAUTH
/api/payment_terms/{payment_term}
payment_terms.update
DELETEAUTH
/api/payment_terms/{payment_term}
payment_terms.destroy
PING
Method
Path
Name
Actions
PROPERTIES
Method
Path
Name
Actions
GETAUTH
/api/properties
properties.index
POSTAUTH
/api/properties
properties.store
GETAUTH
/api/properties/{property}
properties.show
PUTAUTH
/api/properties/{property}
properties.update
PATCHAUTH
/api/properties/{property}
properties.update
DELETEAUTH
/api/properties/{property}
properties.destroy
PROPERTY_FEATURES
Method
Path
Name
Actions
GETAUTH
/api/property_features
property_features.index
POSTAUTH
/api/property_features
property_features.store
GETAUTH
/api/property_features/{property_feature}
property_features.show
PUTAUTH
/api/property_features/{property_feature}
property_features.update
PATCHAUTH
/api/property_features/{property_feature}
property_features.update
DELETEAUTH
/api/property_features/{property_feature}
property_features.destroy
REGISTER
Method
Path
Name
Actions
POST
/api/register
—
Example
# Login (returns {"token":"..."})
curl -s -X POST "https://primorasystems.com/api/login" \
-H "Content-Type: application/json" \
-d '{"email":"ada@example.com","password":"password123"}'
# Authenticated example:
curl -H "Authorization: Bearer <TOKEN>" "https://primorasystems.com/api/properties"
RENTAL_UNITS
Method
Path
Name
Actions
GETAUTH
/api/rental_units
rental_units.index
POSTAUTH
/api/rental_units
rental_units.store
GETAUTH
/api/rental_units/{rental_unit}
rental_units.show
PUTAUTH
/api/rental_units/{rental_unit}
rental_units.update
PATCHAUTH
/api/rental_units/{rental_unit}
rental_units.update
DELETEAUTH
/api/rental_units/{rental_unit}
rental_units.destroy
REVIEWS
Method
Path
Name
Actions
GETAUTH
/api/reviews
reviews.index
POSTAUTH
/api/reviews
reviews.store
GETAUTH
/api/reviews/{review}
reviews.show
PUTAUTH
/api/reviews/{review}
reviews.update
PATCHAUTH
/api/reviews/{review}
reviews.update
DELETEAUTH
/api/reviews/{review}
reviews.destroy
SUPPORT_TICKETS
Method
Path
Name
Actions
GETAUTH
/api/support_tickets
support_tickets.index
POSTAUTH
/api/support_tickets
support_tickets.store
GETAUTH
/api/support_tickets/{support_ticket}
support_tickets.show
PUTAUTH
/api/support_tickets/{support_ticket}
support_tickets.update
PATCHAUTH
/api/support_tickets/{support_ticket}
support_tickets.update
DELETEAUTH
/api/support_tickets/{support_ticket}
support_tickets.destroy
SURVEY_PHOTOS
Method
Path
Name
Actions
GETAUTH
/api/survey_photos
survey_photos.index
POSTAUTH
/api/survey_photos
survey_photos.store
GETAUTH
/api/survey_photos/{survey_photo}
survey_photos.show
PUTAUTH
/api/survey_photos/{survey_photo}
survey_photos.update
PATCHAUTH
/api/survey_photos/{survey_photo}
survey_photos.update
DELETEAUTH
/api/survey_photos/{survey_photo}
survey_photos.destroy
SURVEYS
Method
Path
Name
Actions
GETAUTH
/api/surveys
surveys.index
POSTAUTH
/api/surveys
surveys.store
GETAUTH
/api/surveys/{survey}
surveys.show
PUTAUTH
/api/surveys/{survey}
surveys.update
PATCHAUTH
/api/surveys/{survey}
surveys.update
DELETEAUTH
/api/surveys/{survey}
surveys.destroy
TICKET_MESSAGES
Method
Path
Name
Actions
GETAUTH
/api/ticket_messages
ticket_messages.index
POSTAUTH
/api/ticket_messages
ticket_messages.store
GETAUTH
/api/ticket_messages/{ticket_message}
ticket_messages.show
PUTAUTH
/api/ticket_messages/{ticket_message}
ticket_messages.update
PATCHAUTH
/api/ticket_messages/{ticket_message}
ticket_messages.update
DELETEAUTH
/api/ticket_messages/{ticket_message}
ticket_messages.destroy
TRANSACTIONS
Method
Path
Name
Actions
GETAUTH
/api/transactions
transactions.index
POSTAUTH
/api/transactions
transactions.store
GETAUTH
/api/transactions/{transaction}
transactions.show
PUTAUTH
/api/transactions/{transaction}
transactions.update
PATCHAUTH
/api/transactions/{transaction}
transactions.update
DELETEAUTH
/api/transactions/{transaction}
transactions.destroy
UNITS
Method
Path
Name
Actions
GETAUTH
/api/units
units.index
POSTAUTH
/api/units
units.store
GETAUTH
/api/units/{unit}
units.show
PUTAUTH
/api/units/{unit}
units.update
PATCHAUTH
/api/units/{unit}
units.update
DELETEAUTH
/api/units/{unit}
units.destroy
USER
Method
Path
Name
Actions
GETAUTH
/api/user
—
USER_ACTIVITY_LOGS
Method
Path
Name
Actions
GETAUTH
/api/user_activity_logs
user_activity_logs.index
POSTAUTH
/api/user_activity_logs
user_activity_logs.store
GETAUTH
/api/user_activity_logs/{user_activity_log}
user_activity_logs.show
PUTAUTH
/api/user_activity_logs/{user_activity_log}
user_activity_logs.update
PATCHAUTH
/api/user_activity_logs/{user_activity_log}
user_activity_logs.update
DELETEAUTH
/api/user_activity_logs/{user_activity_log}
user_activity_logs.destroy
USER_PROFILES
Method
Path
Name
Actions
GETAUTH
/api/user_profiles
user_profiles.index
POSTAUTH
/api/user_profiles
user_profiles.store
GETAUTH
/api/user_profiles/{user_profile}
user_profiles.show
PUTAUTH
/api/user_profiles/{user_profile}
user_profiles.update
PATCHAUTH
/api/user_profiles/{user_profile}
user_profiles.update
DELETEAUTH
/api/user_profiles/{user_profile}
user_profiles.destroy
USER_SESSIONS
Method
Path
Name
Actions
GETAUTH
/api/user_sessions
user_sessions.index
POSTAUTH
/api/user_sessions
user_sessions.store
GETAUTH
/api/user_sessions/{user_session}
user_sessions.show
PUTAUTH
/api/user_sessions/{user_session}
user_sessions.update
PATCHAUTH
/api/user_sessions/{user_session}
user_sessions.update
DELETEAUTH
/api/user_sessions/{user_session}
user_sessions.destroy
USERS
Method
Path
Name
Actions
GETAUTH
/api/users
users.index
POSTAUTH
/api/users
users.store
GETAUTH
/api/users/{user}
users.show
PUTAUTH
/api/users/{user}
users.update
PATCHAUTH
/api/users/{user}
users.update
DELETEAUTH
/api/users/{user}
users.destroy