POST api/WebhookFieldMapping/Create

Request Information

URI Parameters

None.

Body Parameters

SaveWebhookFieldMappingVm
NameDescriptionTypeAdditional information
Id

integer

None.

SourceField

string

None.

FieldCode

string

None.

WebhookTargetFieldId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "SourceField": "sample string 2",
  "FieldCode": "sample string 3",
  "WebhookTargetFieldId": 1
}

application/xml, text/xml

Sample:
<SaveWebhookFieldMappingVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models.WebhookModels">
  <FieldCode>sample string 3</FieldCode>
  <Id>1</Id>
  <SourceField>sample string 2</SourceField>
  <WebhookTargetFieldId>1</WebhookTargetFieldId>
</SaveWebhookFieldMappingVm>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SaveWebhookFieldMappingVm'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.