Project tag links

Links a tag to a project.

The object#

FieldTypeDescription
idread-onlyintegerNolaPro id.
teamprojectidintegerReference to teamprojects, by id. Write either this or teamproject.
teamprojectstring(30)Code for the referenced teamproject, instead of the id.
teamprojecttagidintegerReference to teamprojecttags, by id. Write either this or teamprojecttag.
teamprojecttagstring(100)Code for the referenced teamprojecttag, instead of the id.
cancelbooleanCancelled. NolaPro cancels rather than deletes, so a cancelled row is still readable.
entrydateread-onlystringWhen the record was created.
lastchangedateread-onlystringLast modification. Drives modifiedsince.
externalidstring(100)Your own key. Scoped to your company.

Endpoints#

POST/teamprojecttaglinks/batch 207

Create many.

Requires scope projects:write.

Parameters
NameInTypeNotes
Body array
FieldTypeDescription
idread-onlyintegerNolaPro id.
teamprojectidintegerReference to teamprojects, by id. Write either this or teamproject.
teamprojectstring(30)Code for the referenced teamproject, instead of the id.
teamprojecttagidintegerReference to teamprojecttags, by id. Write either this or teamprojecttag.
teamprojecttagstring(100)Code for the referenced teamprojecttag, instead of the id.
cancelbooleanCancelled. NolaPro cancels rather than deletes, so a cancelled row is still readable.
entrydateread-onlystringWhen the record was created.
lastchangedateread-onlystringLast modification. Drives modifiedsince.
externalidstring(100)Your own key. Scoped to your company.
curl -X POST \
  'https://acme.nolapro.com/!/api/v2/teamprojecttaglinks/batch' \
  -H 'Authorization: Bearer $NP_TOKEN' \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: your-unique-key' \
  -d '[
    {
        "teamprojectid": 104,
        "teamproject": "Example teamproject",
        "teamprojecttagid": 104,
        "teamprojecttag": "Example teamprojecttag"
    }
]'
POST/teamprojecttaglinks 201400

Create.

Requires scope projects:write.

Parameters
NameInTypeNotes
Body
FieldTypeDescription
idread-onlyintegerNolaPro id.
teamprojectidintegerReference to teamprojects, by id. Write either this or teamproject.
teamprojectstring(30)Code for the referenced teamproject, instead of the id.
teamprojecttagidintegerReference to teamprojecttags, by id. Write either this or teamprojecttag.
teamprojecttagstring(100)Code for the referenced teamprojecttag, instead of the id.
cancelbooleanCancelled. NolaPro cancels rather than deletes, so a cancelled row is still readable.
entrydateread-onlystringWhen the record was created.
lastchangedateread-onlystringLast modification. Drives modifiedsince.
externalidstring(100)Your own key. Scoped to your company.
When it fails
StatusCodeMeaning
400invalid_requestA required field was missing.
curl -X POST \
  'https://acme.nolapro.com/!/api/v2/teamprojecttaglinks' \
  -H 'Authorization: Bearer $NP_TOKEN' \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: your-unique-key' \
  -d '{
    "teamprojectid": 104,
    "teamproject": "Example teamproject",
    "teamprojecttagid": 104,
    "teamprojecttag": "Example teamprojecttag"
}'
Response 201
{
    "teamprojectid": 104,
    "teamproject": "Example teamproject",
    "teamprojecttagid": 104,
    "teamprojecttag": "Example teamprojecttag"
}