You can post a note to many different objects within AtTask (User, Project, Task, Issue, Portfolio, Program, etc) and the "noteObjCode" attribute is what AtTask uses to determine what type of object the note is being posted to. To see other relevant fields and each object a note can be attached to please visit http://developers.attask.com/api-docs/api-explorer/#?selected=NOTE.
As for posting a note to an object and directing that note to a list of users or teams you can use something like the following:
/v4.0/note?
sessionID=cb4c001c6d884beda1e1c085295xxxxx&
updates={
noteText:"testing",
objID:"529647ad007235fbf7f1ce1d839xxxxx",
noteObjCode:"PROJ",
tags:[{
objID:"4c7875600000c9e1bcfd09ac06axxxxx",
objObjCode:"USER"
},{
objID:"4c7875600000c9e1bcfd09ac06axxxxx",
objObjCode:"TEAMOB"
}]
}
In the example above:
- sessionID = sessionID returned from a login
- updates = data you wish to be assigned to specified attributes
- noteText = what you want the note to say
- objID = what object you want the note to be on
- noteObjCode = the type of object you want the note to be on
- tags = who you want the note to be directed too
- objID = the team ID or the user ID you want the note to be directed to
- objObjCode = the type of object you are directing the note to ("TEAMOB" or "USER")