POST api/Opportunities

Create a new Opportunity Record.

Request Information

URI Parameters

None.

Body Parameters

The Opportunity record data must be passed in through the body of the request in Json format. Set Content-Type header to application/json

MutableEntityExtended
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

ParentId

This field will only include data when working with Group records.

globally unique identifier

None.

Fields

Dictionary of string [key] and Object [value]

None.

LinkedEntities

LinkedEntities

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "5e21a0a3-149f-4cb5-81e7-02d7332226b0",
  "ParentId": "6e0df809-1509-46f0-8e0d-d9713f4a2ef1",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "2e2950cd-1504-45fc-b4b6-5983fac6d202",
      "1f612fa2-b42a-4888-80da-fcf77ae7af18"
    ],
    "Companies": [
      "6c382b63-39eb-4257-89fc-133afd9fcb0d",
      "690ed2fe-9e74-4a64-bacf-a4ea503544be"
    ],
    "Groups": [
      "4562742a-84b2-4383-bcf3-edd8a8c3c628",
      "4c379ed6-57c8-48bb-a171-3c77d0a23dce"
    ],
    "Opportunities": [
      "019a6216-ef40-4ee1-826d-60f48c31bcd5",
      "3aa1d92c-bdf2-4007-96da-2613d4c09268"
    ]
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

This endpoint returns the GUID of the Group record once it is created.

globally unique identifier

Response Formats

application/json, text/json

Sample:
"9508148c-870f-41b0-ab8a-ab642e75bda1"