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": "9d110736-7e1f-4860-a16a-ef3b257fb498",
  "ParentId": "07b5806e-36bc-4607-9ac8-9bfd4ea031ce",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "f89f6f75-fa5e-4408-8e98-c940cfb9801b",
      "1fd53471-9e1d-48ab-becc-7d9767336d03"
    ],
    "Companies": [
      "030bd3fd-3314-4981-9eb7-54036dfe5dc9",
      "0d643b28-01e6-47a8-83af-4a6734a92103"
    ],
    "Groups": [
      "23a0ded2-b192-488f-ab7f-4bf1682da1de",
      "8f19e2f2-8564-43f6-9ad1-68580aaf6057"
    ],
    "Opportunities": [
      "df6613b3-bb71-4b9b-9fda-1ab3408b0825",
      "ec235884-7705-4811-a601-3245f6c3c4b9"
    ]
  }
}

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:
"2503dc30-6738-437c-b2b3-928d3cbdadbb"