PUT api/leadpulse/branchconfig/{branchid}

Update the leadpulse Branch config for a branch Processes this lead pulse API request. The parameter and response sections describe the data exchanged with the API.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
branchid

Branch Id

integer

Required

Body Parameters

Branch config data

LeadPulseBranchConfigDataContract
NameDescriptionTypeAdditional information
Districts

The collection of districts.

Collection of string

None.

Sectors

The collection of sectors.

Collection of string

None.

Postcodes

The collection of postcodes.

Collection of string

None.

PermittedNegIds

The unique identifiers of the related permitted neg resources.

Collection of integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "Districts": [
    "sample string 1",
    "sample string 2"
  ],
  "Sectors": [
    "sample string 1",
    "sample string 2"
  ],
  "Postcodes": [
    "sample string 1",
    "sample string 2"
  ],
  "PermittedNegIds": [
    1,
    2
  ]
}

Response Information

Resource Description

200 OK with updated LeadPulseBranchConfigDataContract, 400 Bad Request, or 404 Not Found

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.