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": "abe3ff48-4601-4b07-8b70-381338a94031",
  "ParentId": "39fca686-e343-458e-935a-b6bb2cc4c83c",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "f30694b4-60cc-415e-83f0-83fb26f5ca6e",
      "78cb59f6-4b67-4424-918d-fb8ac8d163a1"
    ],
    "Companies": [
      "668501a8-643a-4d23-8300-87d47b8f505c",
      "0c99b5f2-0da6-413b-9102-f60be57590db"
    ],
    "Groups": [
      "21dd098f-4d97-415e-bdc0-1df779125168",
      "a7f199cf-d5ad-47cd-82d6-675a3189de4d"
    ],
    "Opportunities": [
      "f9f2e2b5-dc93-4a8f-b78b-5e64c9eaedd9",
      "3704d223-a651-4f66-9ed1-6f59f6ffd545"
    ]
  }
}

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:
"acc5be33-d52e-4113-a697-b14c455f1a9a"