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": "68f2608f-8d62-4a09-9868-b26225277898",
  "ParentId": "d1372b0a-6556-48b3-b020-761eadd43e41",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "c89ce379-5cfc-4756-a4a4-8cc74c990987",
      "48f3afc7-0390-4f04-acf6-9c34c31ddea0"
    ],
    "Companies": [
      "f4232f92-af7c-4adc-9b57-e80ff6cbc159",
      "fa318bbd-c6b3-49ae-b12d-191ecf4ce663"
    ],
    "Groups": [
      "e9fd2424-0d50-4886-8f74-f8ad68f54793",
      "f29618c7-5ee6-4396-b328-cfdfcfd57ce9"
    ],
    "Opportunities": [
      "1213512d-b949-423c-b9c3-9248eaaeaf99",
      "01937ad1-292c-4b0f-93d0-79710096676c"
    ]
  }
}

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:
"353eeafd-0f05-445d-94d6-784ccb1df8e3"