Skip to main content

Platform


List platforms

Get a list of platforms.

const response = await geocore.Platform.platformList({
name: "name",
companyId: "companyId",
page: 1,
limit: 10,
});

Prerequisites​

Successfully get the IdToken with superAdmin access level from login API.

Parameters​

nametypedata typedescription
nameoptionalstringSearch by platform name
companyIdoptionalstringCompany ID to get platform configuration
pageoptionalnumberPage ordinal number
limitoptionalnumberNumber of records per page
Create platform

Create a new platform.

const response = await geocore.Platform.createPlatform({
name: "string",
description: "string",
});

Prerequisites​

Successfully get the IdToken with superAdmin access level from login API.

Parameters​

nametypedata typedescription
namerequiredstringPlatform name
descriptionrequiredstringPlatform description
Update platform

Update a platform.

const response = await geocore.Platform.updatePlatform(
platformId,
{
name: "string",
description: "string",
}
);

Prerequisites​

Successfully get the IdToken with superAdmin access level from login API.

Parameters​

nametypedata typedescription
platformIdrequiredstringID of platform
namerequiredstringPlatform name
descriptionrequiredstringPlatform description
Delete platform

Delete a platform.

const response = await geocore.Platform.deletePlatform(platformId);

Prerequisites​

Successfully get the IdToken with superAdmin access level from login API.

Parameters​

nametypedata typedescription
platformIdrequiredstringPlatform ID