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": "9a004bd5-7a0c-4c0e-838b-6b45eb74213b",
  "ParentId": "af4bf62e-e5c0-4055-81cd-a0b2222c4e43",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "eba7a4c0-0b17-4845-a112-11c2530976dc",
      "e9183429-1f14-49ee-956a-e7412626ae2a"
    ],
    "Companies": [
      "934f8d0e-9756-4c4f-a15d-94ceb5a2953a",
      "079357f9-4271-46d0-8c56-9ddbd5271c8b"
    ],
    "Groups": [
      "702e17b9-3324-4b6e-8128-1f72873181f1",
      "bb37c749-4cae-443c-b4de-7f2ec7fbd89d"
    ],
    "Opportunities": [
      "b16e4eb5-80f8-42d3-b9d6-f8e5c1a0833f",
      "293820b0-e6cb-48da-ae01-57929fe34729"
    ]
  }
}

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:
"66355292-3061-4206-a14f-376c55020e21"