POST api/Survey/AssignPricingSurveyForm
Request Information
URI Parameters
None.
Body Parameters
AssignPricingSurveyFormModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Flag | integer |
None. |
|
| RoleIds | string |
None. |
|
| UserIds | string |
None. |
|
| PricingSurveyFormId | integer |
None. |
|
| StateId | integer |
None. |
|
| LgaId | integer |
None. |
|
| SurveyPeriod | string |
None. |
|
| LimitPerCustomer | integer |
None. |
|
| TotalCustomersAllowed | integer |
None. |
|
| OrganisationType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Flag": 1,
"RoleIds": "sample string 2",
"UserIds": "sample string 3",
"PricingSurveyFormId": 4,
"StateId": 5,
"LgaId": 6,
"SurveyPeriod": "sample string 7",
"LimitPerCustomer": 8,
"TotalCustomersAllowed": 9,
"OrganisationType": "sample string 10"
}
application/xml, text/xml
Sample:
<AssignPricingSurveyFormModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <LgaId>6</LgaId> <LimitPerCustomer>8</LimitPerCustomer> <OrganisationType>sample string 10</OrganisationType> <PricingSurveyFormId>4</PricingSurveyFormId> <StateId>5</StateId> <SurveyPeriod>sample string 7</SurveyPeriod> <TotalCustomersAllowed>9</TotalCustomersAllowed> <Flag>1</Flag> <RoleIds>sample string 2</RoleIds> <UserIds>sample string 3</UserIds> </AssignPricingSurveyFormModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | string |
None. |
|
| dateTime | string |
None. |
|
| StatusCode | integer |
None. |
|
| ErrorMessage | string |
None. |
|
| Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Version": "1.0.0",
"dateTime": "2026/01/11 22:27:39",
"StatusCode": 1,
"ErrorMessage": "sample string 2",
"Result": {}
}
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>