REST API Project Group Create parameters.

There is a field called aisFiles. Is this how we are to add source files to the call? what format are they to be passed in?

  • The project group creation works with systemFiles. So, you can ignore aisFiles for now.

    systemFiles will receive a list of unique identifiers that you get when you upload a file to WS.

    In conclusion: first, upload the project files to ws using the v1/files POST request (see api docs). Get the unique id from the response
    for project creation:
    {
    [{
    "name": "test",
    "description": "",
    "projectTypeId": 1018,
    "clientId": 1171,
    "systemFiles": ["upload_5621477666684655855.file.txt"],
    "aisFiles": [],
    "locales": [{
    "id": 1068
    }, {
    "id": 1064
    }],
    "attributes": []
    }]
    }