POST api/Visits/UpdateSequrityAnswers?pCustNum={pCustNum}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pCustNum

integer

Required

Body Parameters

Collection of CustSecurityAnswer
NameDescriptionTypeAdditional information
cust_num

integer

None.

quest_num

byte

None.

sequrity_question

string

Required

String length: inclusive between 0 and 200

sequrity_answer

string

Required

String length: inclusive between 0 and 200

Request Formats

application/json, text/json

Sample:
[
  {
    "cust_num": 1,
    "quest_num": 64,
    "sequrity_question": "sample string 3",
    "sequrity_answer": "sample string 4"
  },
  {
    "cust_num": 1,
    "quest_num": 64,
    "sequrity_question": "sample string 3",
    "sequrity_answer": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustSecurityAnswer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <CustSecurityAnswer>
    <cust_num>1</cust_num>
    <quest_num>64</quest_num>
    <sequrity_answer>sample string 4</sequrity_answer>
    <sequrity_question>sample string 3</sequrity_question>
  </CustSecurityAnswer>
  <CustSecurityAnswer>
    <cust_num>1</cust_num>
    <quest_num>64</quest_num>
    <sequrity_answer>sample string 4</sequrity_answer>
    <sequrity_question>sample string 3</sequrity_question>
  </CustSecurityAnswer>
</ArrayOfCustSecurityAnswer>

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 'List`1'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.