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": "adac3fb0-6664-4617-adb0-a2a539c124d0",
  "ParentId": "065331ad-2092-4bdc-8b2d-0661db45e51e",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "43999f27-802f-482a-acc5-bd0d7a87a647",
      "ca25dc4b-358b-4ea2-9995-6c36b849ddac"
    ],
    "Companies": [
      "3685b20d-ac57-4462-b02e-77fdc3d810e7",
      "f67201a9-6dfd-470d-a446-a4a706424be2"
    ],
    "Groups": [
      "1b163036-e38c-4612-91f0-cac59798f916",
      "726b03ef-6ebc-429b-818a-a4c8dd9caa20"
    ],
    "Opportunities": [
      "db79f6a6-acb4-4a42-bd5f-0553eabe1c7a",
      "3b3787e1-1e9a-4764-acde-26d822dbee6a"
    ]
  }
}

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:
"a3787ccf-38fe-44a6-bc14-cf9d4f7e907c"