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": "a7adc8b3-86a3-435e-b3dd-f79ec35ff2f2",
  "ParentId": "35a5f1e0-ba91-4d18-8e56-7a40497cd3e2",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "e17de9c7-adfb-4a2b-b4bd-3d211ea7f293",
      "db7ad95b-5cc0-4f0f-979b-677f91e97cfc"
    ],
    "Companies": [
      "b1787bbb-c308-4661-925e-af72dc95a274",
      "75b8ede3-644a-4c91-a88b-9c037434e3b8"
    ],
    "Groups": [
      "639c060e-9be9-41cb-9ad8-83c7bea69cd6",
      "ce214988-20a0-49ef-b301-76412f06f9cc"
    ],
    "Opportunities": [
      "db03aeb1-777e-431e-88db-25ce86e5d96a",
      "d89e5dc4-e730-43a1-bb7e-7ea0667e991b"
    ]
  }
}

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:
"408d8694-9d72-44fe-bf03-43160f5b3918"