Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. POST the Domain 

    For example, to create a simple states domain :

    POST /domains

    Code Block
    languagejs
    titleDefining a Model Schema
    {
    	"name": "states",
    	"zoneUuid": "a1aca070-846f-44e5-9471-c73b46c35f4a",
    	"domainType": "MASTER_CENTRALIZED"
     }

    The location header returned provides the URI for POSTing a domain version below.

    e.g.

    Location /domains/7f28180b-7d9f-42b5-b5ed-d4a0e7ec09fc

  2. POST a Domain Version

    POST /domains/versions/7f28180b-7d9f-42b5-b5ed-d4a0e7ec09fc

  3. POST Master Data Records to the Domain

    Once the domain/version has been created, master data can be POSTed to it using the /mdr endpoint:
    POST /mdrs

Code Block
languagejs
titleDefining a Model Schema
{
	"name": "states",
	"version": 1,
	"json": { 
		"name" : "California", 
		"abbreviation" : "CA"
	}
}

...