action ato_post_individuals_party_id_roles { label: "Create a role" description: "Create a role\n" provider: ato method: POST path: "/individuals/{partyId}/roles" encoding: json output: { type: "object" description: "The Party Role resource." required: ["relatedPartyId", "relationshipType"] properties: { fromDate: { type: "string" format: "date-time" description: "The date and time the resource became active in the format defined by [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)." } id: { description: "The resource's unique identifier." type: "object" } partyRoleType: { type: "string" description: "The party's role type." enum: ["Director", "Employee", "Member", "Partner", "Trustee"] } relatedPartyId: { description: "The related party's unique identifier." type: "object" } relatedPartyRoleType: { type: "string" description: "The related party's role type." enum: ["Association", "Company", "Employer", "Organisation", "Partnership", "Trust"] } relationshipType: { type: "string" description: "The relationship type." enum: ["Directorship", "Employment", "Membership", "Partnership", "Trusteeship"] } toDate: { type: "string" format: "date-time" description: "The date and time the resource became inactive in the format defined by [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)." } } } }