Organizations

Gets all Organizations

GET https://www.moderan.net/api/domains/DOMAIN_ID/properties/0/organizationsapi

This endpoint allows you to get all Organizations from Moderan

Path Parameters

Create an organization

POST https://www.moderan.net/api/domains/:domainId/propertysets/0/organizations

This endpoint allows you to create an Organizations

Path Parameters

Update an organization

PUT https://www.moderan.net/api/domains/:domainId/propertysets/0/organizations/:organizationId

Path Parameters

POST/PUT payload

{
   "name":"My organization",
   "accountingCode":"35197FA",
   "legalAddress":{
      "street":"Puiestee 33",
      "postalCode":"50511",
      "city":"Tallinn",
      "county":"Harjumaa",
      "country":"EE"
   },
   "postalAddress":{
      "street":"Puiestee 33",
      "postalCode":"50511",
      "city":"Tallinn",
      "county":"Harjumaa",
      "country":"EE"
   },
   "registryCode":"REG33",
   "emailGeneral":"admin@example.com",
   "emailInvoice":"invoice@example.com",
   "phone1":"53143335",
   "phone2":"53143335",
   "notes":"my notes",
   "industry":"Steel industry",
   "vat":"EE221095811323",
   "website":"www.google.com",
   "invoiceInEnglish":true,
}

Last updated