Create profile

This is an API function to create a profile. This API function corresponds to the operation of the [Add] button that is displayed by selecting the [Profile] on the operation screen of Manager.

Format

curl -X POST --header 'Content-Type: application/json'

--header 'Accept: application/json'

--header 'X-API-KEY:APIKEY'

-d 'REQUESTBODYINJSONFORMAT'

'http://HOSTNAME:PORTNUMBER/api/v1/units/unitId/profiles'

Request body (JSON format)

{

"profileName": "string"

}

Request parameter (JSON format)
Item name Request parameter Type Value Default value
Profile Name profileName String Maximum 64 characters Impossible to omit
Request parameter (Path format)
Item name Request parameter Type Value Default value
Unit ID unitId String   Impossible to omit
Response

{

"profileId": "string",

"profileName": "string",

"profileVersion": 0,

"unitId": "string",

"unitName": "string"

}

Response parameter
Item name Response parameter Type Value
Profile ID profileId String  
Profile Name profileName String  
Profile Version profileVersion Integer  
Unit ID unitId String  
Unit Name unitName String