POST api/CompanyGoogleAdsConversionMap/Save

Request Information

URI Parameters

None.

Body Parameters

SaveVm
NameDescriptionTypeAdditional information
CredentialId

integer

None.

GoogleCustomerId

string

None.

Mappings

Collection of MapRowVm

None.

Request Formats

application/json, text/json

Sample:
{
  "CredentialId": 1,
  "GoogleCustomerId": "sample string 1",
  "Mappings": [
    {
      "CompanyStageId": 1,
      "CompanyStageName": "sample string 2",
      "GoogleConversionActionId": "sample string 3",
      "GoogleConversionActionName": "sample string 4"
    },
    {
      "CompanyStageId": 1,
      "CompanyStageName": "sample string 2",
      "GoogleConversionActionId": "sample string 3",
      "GoogleConversionActionName": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<CompanyGoogleAdsConversionMapController.SaveVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Services.Campaign">
  <CredentialId>1</CredentialId>
  <GoogleCustomerId>sample string 1</GoogleCustomerId>
  <Mappings>
    <CompanyGoogleAdsConversionMapController.MapRowVm>
      <CompanyStageId>1</CompanyStageId>
      <CompanyStageName>sample string 2</CompanyStageName>
      <GoogleConversionActionId>sample string 3</GoogleConversionActionId>
      <GoogleConversionActionName>sample string 4</GoogleConversionActionName>
    </CompanyGoogleAdsConversionMapController.MapRowVm>
    <CompanyGoogleAdsConversionMapController.MapRowVm>
      <CompanyStageId>1</CompanyStageId>
      <CompanyStageName>sample string 2</CompanyStageName>
      <GoogleConversionActionId>sample string 3</GoogleConversionActionId>
      <GoogleConversionActionName>sample string 4</GoogleConversionActionName>
    </CompanyGoogleAdsConversionMapController.MapRowVm>
  </Mappings>
</CompanyGoogleAdsConversionMapController.SaveVm>

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 'SaveVm'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.