POST api/Answer/saveAnswer

Request Information

URI Parameters

None.

Body Parameters

objectSaveAnswer
NameDescriptionTypeAdditional information
pAnswer

Answer

None.

pAnswerHtml

AnswersHtml

None.

idMongo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "pAnswer": {
    "answer_code": 1,
    "visit_code": 2,
    "cust_num": 3,
    "createdate": "2019-10-18T23:54:29.698518+03:00",
    "modifydate": "2019-10-18T23:54:29.698518+03:00",
    "lst_updating_emp": 1,
    "remark": "sample string 6",
    "debit_line_code": 7,
    "form_num": 1,
    "status_code": 1,
    "insur_send_date": "2019-10-18T23:54:29.698518+03:00",
    "insur_name_to_send": "sample string 8",
    "turn_send_date": "2019-10-18T23:54:29.698518+03:00",
    "turn_code": "sample string 9",
    "cpt4_code": "sample string 10",
    "emp_sig_first": 1,
    "emp_sig_second": 1,
    "lst_pacs_sent_date": "2019-10-18T23:54:29.698518+03:00",
    "pat_finding": "sample string 11",
    "finding_code": 1,
    "ans_state": "sample string 12",
    "type_date": "2019-10-18T23:54:29.698518+03:00",
    "record_date": "2019-10-18T23:54:29.698518+03:00",
    "print_date": "2019-10-18T23:54:29.698518+03:00",
    "lst_sig_date_first": "2019-10-18T23:54:29.698518+03:00",
    "lst_sig_date_second": "2019-10-18T23:54:29.698518+03:00",
    "source_answer_code": 1,
    "sent_counter": 1,
    "source_sent_counter": 1,
    "completion": "sample string 13",
    "clarification": "sample string 14",
    "correction_rsn": 1,
    "completion_rsn": 1,
    "cust_send_date": "2019-10-18T23:54:29.698518+03:00",
    "quality_check_code": 1,
    "clalit_ident": "sample string 15",
    "last_sender": 1,
    "cust_view_date": "2019-10-18T23:54:29.698518+03:00",
    "cust_view_allowed": "sample string 16",
    "last_type_code": 1,
    "two_sig_req": "sample string 17",
    "imported_from_interface": "sample string 18",
    "mongo_id": "sample string 19",
    "pdf_file": "sample string 20",
    "audio_file": "sample string 21",
    "mac_send_code_first": "sample string 22"
  },
  "pAnswerHtml": {
    "_id": "000000000000000000000000",
    "answer_code": 1,
    "html": "sample string 2",
    "html_sign1": "sample string 3",
    "html_sign2": "sample string 4"
  },
  "idMongo": "sample string 1"
}

application/xml, text/xml

Sample:
<AnswersController.objectSaveAnswer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMedical.Controllers">
  <idMongo>sample string 1</idMongo>
  <pAnswer xmlns:d2p1="http://schemas.datacontract.org/2004/07/CustDemog">
    <d2p1:ans_state>sample string 12</d2p1:ans_state>
    <d2p1:answer_code>1</d2p1:answer_code>
    <d2p1:audio_file>sample string 21</d2p1:audio_file>
    <d2p1:clalit_ident>sample string 15</d2p1:clalit_ident>
    <d2p1:clarification>sample string 14</d2p1:clarification>
    <d2p1:completion>sample string 13</d2p1:completion>
    <d2p1:completion_rsn>1</d2p1:completion_rsn>
    <d2p1:correction_rsn>1</d2p1:correction_rsn>
    <d2p1:cpt4_code>sample string 10</d2p1:cpt4_code>
    <d2p1:createdate>2019-10-18T23:54:29.698518+03:00</d2p1:createdate>
    <d2p1:cust_num>3</d2p1:cust_num>
    <d2p1:cust_send_date>2019-10-18T23:54:29.698518+03:00</d2p1:cust_send_date>
    <d2p1:cust_view_allowed>sample string 16</d2p1:cust_view_allowed>
    <d2p1:cust_view_date>2019-10-18T23:54:29.698518+03:00</d2p1:cust_view_date>
    <d2p1:debit_line_code>7</d2p1:debit_line_code>
    <d2p1:emp_sig_first>1</d2p1:emp_sig_first>
    <d2p1:emp_sig_second>1</d2p1:emp_sig_second>
    <d2p1:finding_code>1</d2p1:finding_code>
    <d2p1:form_num>1</d2p1:form_num>
    <d2p1:imported_from_interface>sample string 18</d2p1:imported_from_interface>
    <d2p1:insur_name_to_send>sample string 8</d2p1:insur_name_to_send>
    <d2p1:insur_send_date>2019-10-18T23:54:29.698518+03:00</d2p1:insur_send_date>
    <d2p1:last_sender>1</d2p1:last_sender>
    <d2p1:last_type_code>1</d2p1:last_type_code>
    <d2p1:lst_pacs_sent_date>2019-10-18T23:54:29.698518+03:00</d2p1:lst_pacs_sent_date>
    <d2p1:lst_sig_date_first>2019-10-18T23:54:29.698518+03:00</d2p1:lst_sig_date_first>
    <d2p1:lst_sig_date_second>2019-10-18T23:54:29.698518+03:00</d2p1:lst_sig_date_second>
    <d2p1:lst_updating_emp>1</d2p1:lst_updating_emp>
    <d2p1:mac_send_code_first>sample string 22</d2p1:mac_send_code_first>
    <d2p1:modifydate>2019-10-18T23:54:29.698518+03:00</d2p1:modifydate>
    <d2p1:mongo_id>sample string 19</d2p1:mongo_id>
    <d2p1:pat_finding>sample string 11</d2p1:pat_finding>
    <d2p1:pdf_file>sample string 20</d2p1:pdf_file>
    <d2p1:print_date>2019-10-18T23:54:29.698518+03:00</d2p1:print_date>
    <d2p1:quality_check_code>1</d2p1:quality_check_code>
    <d2p1:record_date>2019-10-18T23:54:29.698518+03:00</d2p1:record_date>
    <d2p1:remark>sample string 6</d2p1:remark>
    <d2p1:sent_counter>1</d2p1:sent_counter>
    <d2p1:source_answer_code>1</d2p1:source_answer_code>
    <d2p1:source_sent_counter>1</d2p1:source_sent_counter>
    <d2p1:status_code>1</d2p1:status_code>
    <d2p1:turn_code>sample string 9</d2p1:turn_code>
    <d2p1:turn_send_date>2019-10-18T23:54:29.698518+03:00</d2p1:turn_send_date>
    <d2p1:two_sig_req>sample string 17</d2p1:two_sig_req>
    <d2p1:type_date>2019-10-18T23:54:29.698518+03:00</d2p1:type_date>
    <d2p1:visit_code>2</d2p1:visit_code>
  </pAnswer>
  <pAnswerHtml xmlns:d2p1="http://schemas.datacontract.org/2004/07/BLMedical">
    <d2p1:_id xmlns:d3p1="http://schemas.datacontract.org/2004/07/MongoDB.Bson">
      <d3p1:_a>0</d3p1:_a>
      <d3p1:_b>0</d3p1:_b>
      <d3p1:_c>0</d3p1:_c>
    </d2p1:_id>
    <d2p1:answer_code>1</d2p1:answer_code>
    <d2p1:html>sample string 2</d2p1:html>
    <d2p1:html_sign1>sample string 3</d2p1:html_sign1>
    <d2p1:html_sign2>sample string 4</d2p1:html_sign2>
  </pAnswerHtml>
</AnswersController.objectSaveAnswer>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

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

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />

application/bson

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