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": "a593ef9b-de28-4178-b555-b6917bbe9c86",
  "ParentId": "6f61e522-e103-4477-8533-f0e36a639521",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "c752a65d-4599-4fc6-8fe5-a43fa8db36ed",
      "f635d833-6ed4-4a19-b1af-1485f3e6008c"
    ],
    "Companies": [
      "2c9df3e4-5da7-4f91-84bf-f21c3c0a78fe",
      "dc02fb75-9637-45ed-9928-5c7279a8997f"
    ],
    "Groups": [
      "d32db06a-78b3-4baf-bed4-0b2af805e9e1",
      "dfcea89c-3410-41f8-a1b8-487a880cde1a"
    ],
    "Opportunities": [
      "5154b06f-b3f8-4f17-bcbb-15986a4f3cd3",
      "c3e38765-69be-4475-8f73-7581dad287bd"
    ]
  }
}

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:
"3bd63367-891f-4b21-974d-78b81ddd379f"