POST api/leadpulse/branchconfig/{branchid}
Create 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
LeadPulseBranchConfigDataContractName | 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
201 Created with LeadPulseBranchConfigDataContract, 400 Bad Request, or 409 Conflict
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.