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": "e13738b9-59a7-458f-8a4d-3b48c0927c79",
  "ParentId": "8f7e11ec-8168-4f6c-a787-99612dee4fdf",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "981d42e2-6051-400d-a8e0-6fd5b719317d",
      "a0f0aa25-d725-4d74-b36a-50199cff86fe"
    ],
    "Companies": [
      "bc0d4399-9774-4ea7-a774-d4629a6eb51c",
      "3a906aa6-b456-40d2-b294-26430f4421cb"
    ],
    "Groups": [
      "5a288091-9bef-446a-8b31-422c9f6e0390",
      "1805179f-c858-428a-b8cb-5b72bb69afae"
    ],
    "Opportunities": [
      "2f01dc38-e718-4f5f-8959-74cf7ebbc358",
      "8466d997-f8ce-48b6-bc00-d16a8b729de0"
    ]
  }
}

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:
"e40d210e-0063-4f44-aea1-2c277318eaa7"