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": "0b7ac020-3476-440c-aea2-632b646bad7a",
  "ParentId": "7550fbc4-5664-49f1-ac30-a646c37b2101",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "34c4e3ea-d107-4f41-9d2d-d535d92194e8",
      "398b7919-de26-4beb-881f-7d9cab5083d7"
    ],
    "Companies": [
      "c3d8abaa-f6c6-4d82-b756-98b5fe7ea98f",
      "4eaa288d-abd6-482f-81c5-ca3519bff8c0"
    ],
    "Groups": [
      "29640ea8-8531-4e56-baf0-294a8d2ffe48",
      "b572e36a-cf9c-4e62-a24f-c88f5567d815"
    ],
    "Opportunities": [
      "229e9c12-0c73-4cec-ada3-bedef7a2efd8",
      "e7d49239-66dc-4bb7-b77c-9532396902b6"
    ]
  }
}

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:
"a1f26eaf-3736-42eb-a14e-e802532f11b4"