action ato_get_organisations_party_id { label: "Retrieve an organisation" description: "Retrieve an organisation with the specified identifier\n" provider: ato method: GET path: "/organisations/{partyId}" encoding: json output: { type: "object" description: "The Organisation resource." required: ["establishmentDate", "legalEntityType"] properties: { addresses: { type: "array" items: { type: "object" } } electronicAddresses: { type: "array" items: { type: "object" description: "The Electronic Address resource." properties: { areaCode: { type: "string" description: "The area code, for example, \"02\"." } countryPrefix: { type: "string" description: "The country prefix, for example, \"61\"." } electronicAddressType: { type: "string" description: "The electronic address type." enum: ["Email", "Fax", "Landline", "Mobile", "Website"] } email: { type: "string" description: "The email address, for example, \"robert.ferguson@ato.gov.au\"." } extension: { type: "string" description: "The extension number, for example, \"4453\"." } 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" } number: { type: "string" description: "The number, for example, \"62164453\"." } 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)." } url: { type: "string" description: "The website address, for example, \"https://ato.gov.au\"." } } } } establishmentDate: { type: "string" format: "date" description: "The organisation's establishment date, for example, `1928-03-03` (in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format)." } 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 party's unique identifier." type: "object" } legalEntityType: { type: "string" description: "The organisation's legal entity type." enum: ["Company", "Partnership", "Trust", "Joint Venture"] } names: { type: "array" items: { type: "object" description: "The Organisation Name resource." 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" } name: { type: "string" description: "The organisation's name." } 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)." } } } } registeredIdentifiers: { type: "array" items: { type: "object" description: "The Registered Identifier resource." 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" } identifier: { type: "string" description: "The registered identifier." } identifierType: { type: "string" description: "The registered identifier type." enum: ["ACN", "ABN"] } 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)." } } } } 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)." } } } }