POST /apiv2/identities/createIdentities

Create Identities in MachShip and assign companies and roles to identities to give them access to the system. Note that all identities provided must belong to the same identityProvider and organisation You must be an administrator of the organisation in question to be able to access this endpoint.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
[] Array Yes
[].testModeSetting Integer No

Indicator of a MachShip user's settings in relation to viewing "test" data in the live system - eg test consignments, manifests, accounts0 = Disabled, 1 = Enabled, 2 = UserIsInTestMode

Valid values:

  • 0
  • 1
  • 2
[].owningCompanyId Integer Yes
[].userType Integer No

1 = SystemAdmin, 2 = User, 3 = Broker, 4 = Reseller, 5 = System, 6 = Enterprise

Valid values:

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
[].emailAddress String Yes
[].displayName String Yes
[].position String No
[].enableEmailNotifications Boolean No
[].givenName String Yes
[].uniqueId String No
[].notes String No
[].userAndCompanyLinks[] Array No
[].userAndCompanyLinks[].companyId Integer Yes
[].userAndCompanyLinks[].roles[] Array Yes
[].identifyingClaim String Yes
[].businessPhone String No
[].phone String No
[].password String No
[].identityProviderId Integer Yes
[].familyName String Yes
[].organisationId Integer Yes
[].mobile String No

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.