5. Working with Agents
agent types versus paths
One thing to notice is that in the data modules the type
doesn’t exactly match the path in the REST API.
- agent_corporate_entity becomes /agents/corporate_entities
- agent_family becomes /agents/families
- agent_person becomes /agents/people
- agent_software becomes /agents/software
The URL’s are memorable but you can’t replace the ‘/’ with a ‘_’ to
get the jsonmodel_type value.