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": "80301de8-9b17-40e0-b097-4e1ad5738868",
  "ParentId": "38b2af2e-8bca-402a-b60d-74e32b3f07b6",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "131346a1-7116-419d-8d20-251e605e3a3d",
      "b08ce19a-7462-4920-b2ea-7cdc80c98ac2"
    ],
    "Companies": [
      "74be35ab-e6e0-4e17-97d0-9c5438a65092",
      "1c856af6-4e62-44d2-a99f-b764ff8ba82e"
    ],
    "Groups": [
      "f1f7c423-41c7-4a42-b8a6-987c67fce3e7",
      "95aece51-7770-4b88-bdb4-cb70e4f9f941"
    ],
    "Opportunities": [
      "4aceff56-486e-4b98-b465-b1caa79825b9",
      "7ac5c09e-8781-46de-b579-708a86c171bb"
    ]
  }
}

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:
"e80cb976-8137-4c5c-bd83-5fddf09cead5"