PUT api/leadpulse/branchconfig/{branchid}
Update the leadpulse Branch config for a branch
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| branchid |
Branch Id |
integer |
Required |
Body Parameters
Branch config data
LeadPulseBranchConfigDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| Districts | Collection of string |
None. |
|
| Sectors | Collection of string |
None. |
|
| Postcodes | Collection of string |
None. |
|
| PermittedNegIds | 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
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.