POST api/CustomiseForm/AddCustomerFieldMaster

Request Information

URI Parameters

None.

Body Parameters

AddCustomerFieldMaster
NameDescriptionTypeAdditional information
Businessid

integer

None.

Loginuserid

integer

None.

Tagid

integer

None.

FieldId

integer

None.

ValueId

integer

None.

OrderId

integer

None.

Controlid

integer

None.

Isrequired

integer

None.

FieldName

string

None.

Values

string

None.

isPhoneVerificationRequired

integer

None.

Flag

integer

None.

isUnique

integer

None.

updateCustomformOrderList

Collection of UpdateCustomformOrder

None.

Request Formats

application/json, text/json

Sample:
{
  "Businessid": 1,
  "Loginuserid": 2,
  "Tagid": 3,
  "FieldId": 4,
  "ValueId": 5,
  "OrderId": 6,
  "Controlid": 7,
  "Isrequired": 8,
  "FieldName": "sample string 9",
  "Values": "sample string 10",
  "isPhoneVerificationRequired": 11,
  "Flag": 12,
  "isUnique": 13,
  "updateCustomformOrderList": [
    {
      "Questionid": 1,
      "Orderid": 2
    },
    {
      "Questionid": 1,
      "Orderid": 2
    }
  ]
}

application/xml, text/xml

Sample:
<AddCustomerFieldMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <Businessid>1</Businessid>
  <Controlid>7</Controlid>
  <FieldId>4</FieldId>
  <FieldName>sample string 9</FieldName>
  <Flag>12</Flag>
  <Isrequired>8</Isrequired>
  <Loginuserid>2</Loginuserid>
  <OrderId>6</OrderId>
  <Tagid>3</Tagid>
  <ValueId>5</ValueId>
  <Values>sample string 10</Values>
  <isPhoneVerificationRequired>11</isPhoneVerificationRequired>
  <isUnique>13</isUnique>
  <updateCustomformOrderList>
    <UpdateCustomformOrder>
      <Orderid>2</Orderid>
      <Questionid>1</Questionid>
    </UpdateCustomformOrder>
    <UpdateCustomformOrder>
      <Orderid>2</Orderid>
      <Questionid>1</Questionid>
    </UpdateCustomformOrder>
  </updateCustomformOrderList>
</AddCustomerFieldMaster>

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

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional 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": "2024/09/19 18:30:44",
  "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>