latestSwagger 2.02026-08-1766151238.8 KB

a444c5b1e78b

Relationship

Creates a new relationship

post/api/relationship

Request body

contactGuidstring uuid required

Used to set the reference in POST and PUT

projectGuidstring uuid required

Used to set the reference in POST and PUT

createdDatestring date-time
lastModifiedDatestring date-time
guidstring uuid
relationshipNamestring required
notesstring

Example request

{
  "contactGuid": "00000000-0000-0000-0000-000000000000",
  "projectGuid": "00000000-0000-0000-0000-000000000000",
  "createdBy": {
    "guid": "00000000-0000-0000-0000-000000000000"
  },
  "lastModifiedBy": {
    "guid": "00000000-0000-0000-0000-000000000000"
  },
  "guid": "00000000-0000-0000-0000-000000000000",
  "account": {
    "guid": "00000000-0000-0000-0000-000000000000"
  },
  "contact": {
    "guid": "00000000-0000-0000-0000-000000000000"
  },
  "project": {
    "guid": "00000000-0000-0000-0000-000000000000",
    "accountGuid": "00000000-0000-0000-0000-000000000000"
  }
}

Response

OK

contactGuidstring uuid required

Used to set the reference in POST and PUT

projectGuidstring uuid required

Used to set the reference in POST and PUT

createdDatestring date-time
lastModifiedDatestring date-time
guidstring uuid
relationshipNamestring required
notesstring

Example response

{
  "contactGuid": "00000000-0000-0000-0000-000000000000",
  "projectGuid": "00000000-0000-0000-0000-000000000000",
  "createdBy": {
    "guid": "00000000-0000-0000-0000-000000000000"
  },
  "lastModifiedBy": {
    "guid": "00000000-0000-0000-0000-000000000000"
  },
  "guid": "00000000-0000-0000-0000-000000000000",
  "account": {
    "guid": "00000000-0000-0000-0000-000000000000"
  },
  "contact": {
    "guid": "00000000-0000-0000-0000-000000000000"
  },
  "project": {
    "guid": "00000000-0000-0000-0000-000000000000",
    "accountGuid": "00000000-0000-0000-0000-000000000000"
  }
}