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| Name | Description | Type | Additional 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": "a4a60361-323a-419f-8d0b-18d57b9767a7",
"ParentId": "488e2a2c-7cd6-45b5-9efd-1b058317350e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"e2a2bdd5-37ab-4e51-b4a0-0049ca1f214d",
"3d6449d5-2b0d-4483-9457-82d622608636"
],
"Companies": [
"6791ca54-4332-4eee-bec2-82ee31d7e20e",
"31e9a49c-6770-45df-b543-86ad804aa23b"
],
"Groups": [
"cf46cd0b-344c-4e9e-b2c8-7ea0bb23aa86",
"914e3356-1ae9-41f2-8ab3-c68d0ece2efe"
],
"Opportunities": [
"064fcc9f-6311-43e0-b2e2-9d372e810e96",
"76a702d0-16db-4430-928a-dc68a69822dd"
]
}
}
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 identifierResponse Formats
application/json, text/json
Sample:
"ed46c647-e6a4-4e3e-a503-3f3aabe62222"