POST api/crm/{crmId}/project/{projectId}/key/{keyId}/links
Post new reference on Key
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| keyId | integer |
Required |
|
| crmId | string |
Required |
|
| projectId | integer |
Required |
Body Parameters
CreateReferenceModel| Name | Description | Type | Additional information |
|---|---|---|---|
| referenceOnForum | string |
None. |
|
| referenceOnPost | Collection of Ref |
None. |
|
| noLink | boolean |
Required |
|
| anchor | string |
None. |
|
| description | string |
None. |
|
| string |
None. |
||
| nickName | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"referenceOnForum": "sample string 1",
"referenceOnPost": {
"$id": "2",
"$values": [
{
"$id": "3",
"reference": "sample string 1",
"comment": "sample string 2"
},
{
"$ref": "3"
}
]
},
"noLink": true,
"anchor": "sample string 3",
"description": "sample string 4",
"email": "sample string 5",
"nickName": "sample string 6"
}
application/xml, text/xml
Sample:
<CreateReferenceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CraudWezom_v1.Models.Users.Reference">
<anchor>sample string 3</anchor>
<description>sample string 4</description>
<email>sample string 5</email>
<nickName>sample string 6</nickName>
<noLink>true</noLink>
<referenceOnForum>sample string 1</referenceOnForum>
<referenceOnPost>
<Ref>
<comment>sample string 2</comment>
<reference>sample string 1</reference>
</Ref>
<Ref>
<comment>sample string 2</comment>
<reference>sample string 1</reference>
</Ref>
</referenceOnPost>
</CreateReferenceModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.