GET api/Visits/GetDebitsLine?visitCode={visitCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
visitCode

integer

Required

Body Parameters

None.

Response Information

Resource Description

DebitsRetunObj
NameDescriptionTypeAdditional information
debits

Collection of Debit4FullVisit

None.

TreatesCount

Dictionary of integer [key] and integer [value]

None.

Response Formats

application/json, text/json

Sample:
{
  "TreatesCount": {
    "1": 2,
    "3": 4
  },
  "debits": [
    {
      "MainPrice": true,
      "DebitLineObject": {},
      "insurerName": "sample string 2",
      "disrict": "sample string 3",
      "branch_name": "sample string 4",
      "priceGroup": "sample string 5",
      "oper_user_code": 6,
      "oper_code": 7,
      "OperState": "sample string 8",
      "operName": "sample string 9",
      "operMabarCode": "sample string 10",
      "sticker": "sample string 11",
      "acc_prime": "sample string 12",
      "invoice_insur_doc": 1,
      "groups_name": "sample string 13",
      "TreatesCount": 14,
      "SeriesStandard": 1,
      "relatedSeriesLastStandard": 1,
      "CurrentTreateNum": "sample string 15",
      "hiddenPrice": true,
      "isInsureMustOblig": "sample string 17",
      "selfpay": "sample string 18",
      "interface_code_insur": "sample string 19",
      "interface_code_districts": "sample string 20",
      "formsList": [
        1,
        2
      ],
      "formsArchives": [
        1,
        2
      ],
      "line_code": 21,
      "branchcode": 1,
      "district_code": 1,
      "district": "sample string 22",
      "insur_code": 23,
      "insure": "sample string 24",
      "insurerIdMoh": 1,
      "pricegroupcode": 1,
      "quantity": 25,
      "processStatus": 1,
      "decoding_type": 1,
      "price": 1.0,
      "code": 26,
      "paid": "sample string 27",
      "emp_for_service_code": 1
    },
    {
      "MainPrice": true,
      "DebitLineObject": {},
      "insurerName": "sample string 2",
      "disrict": "sample string 3",
      "branch_name": "sample string 4",
      "priceGroup": "sample string 5",
      "oper_user_code": 6,
      "oper_code": 7,
      "OperState": "sample string 8",
      "operName": "sample string 9",
      "operMabarCode": "sample string 10",
      "sticker": "sample string 11",
      "acc_prime": "sample string 12",
      "invoice_insur_doc": 1,
      "groups_name": "sample string 13",
      "TreatesCount": 14,
      "SeriesStandard": 1,
      "relatedSeriesLastStandard": 1,
      "CurrentTreateNum": "sample string 15",
      "hiddenPrice": true,
      "isInsureMustOblig": "sample string 17",
      "selfpay": "sample string 18",
      "interface_code_insur": "sample string 19",
      "interface_code_districts": "sample string 20",
      "formsList": [
        1,
        2
      ],
      "formsArchives": [
        1,
        2
      ],
      "line_code": 21,
      "branchcode": 1,
      "district_code": 1,
      "district": "sample string 22",
      "insur_code": 23,
      "insure": "sample string 24",
      "insurerIdMoh": 1,
      "pricegroupcode": 1,
      "quantity": 25,
      "processStatus": 1,
      "decoding_type": 1,
      "price": 1.0,
      "code": 26,
      "paid": "sample string 27",
      "emp_for_service_code": 1
    }
  ]
}

application/xml, text/xml

Sample:
<DebitsRetunObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Visits">
  <TreatesCount xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfintint>
      <d2p1:Key>1</d2p1:Key>
      <d2p1:Value>2</d2p1:Value>
    </d2p1:KeyValueOfintint>
    <d2p1:KeyValueOfintint>
      <d2p1:Key>3</d2p1:Key>
      <d2p1:Value>4</d2p1:Value>
    </d2p1:KeyValueOfintint>
  </TreatesCount>
  <debits>
    <Debit4FullVisit>
      <CurrentTreateNum>sample string 15</CurrentTreateNum>
      <DebitLineObject />
      <MainPrice>true</MainPrice>
      <OperState>sample string 8</OperState>
      <SeriesStandard>1</SeriesStandard>
      <TreatesCount>14</TreatesCount>
      <acc_prime>sample string 12</acc_prime>
      <branch_name>sample string 4</branch_name>
      <branchcode>1</branchcode>
      <code>26</code>
      <decoding_type>1</decoding_type>
      <disrict>sample string 3</disrict>
      <district>sample string 22</district>
      <district_code>1</district_code>
      <emp_for_service_code>1</emp_for_service_code>
      <formsArchives xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:short>1</d4p1:short>
        <d4p1:short>2</d4p1:short>
      </formsArchives>
      <formsList xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:short>1</d4p1:short>
        <d4p1:short>2</d4p1:short>
      </formsList>
      <groups_name>sample string 13</groups_name>
      <hiddenPrice>true</hiddenPrice>
      <insur_code>23</insur_code>
      <insure>sample string 24</insure>
      <insurerIdMoh>1</insurerIdMoh>
      <insurerName>sample string 2</insurerName>
      <interface_code_districts>sample string 20</interface_code_districts>
      <interface_code_insur>sample string 19</interface_code_insur>
      <invoice_insur_doc>1</invoice_insur_doc>
      <isInsureMustOblig>sample string 17</isInsureMustOblig>
      <line_code>21</line_code>
      <operMabarCode>sample string 10</operMabarCode>
      <operName>sample string 9</operName>
      <oper_code>7</oper_code>
      <oper_user_code>6</oper_user_code>
      <paid>sample string 27</paid>
      <price>1</price>
      <priceGroup>sample string 5</priceGroup>
      <pricegroupcode>1</pricegroupcode>
      <processStatus>1</processStatus>
      <quantity>25</quantity>
      <relatedSeriesLastStandard>1</relatedSeriesLastStandard>
      <selfpay>sample string 18</selfpay>
      <sticker>sample string 11</sticker>
    </Debit4FullVisit>
    <Debit4FullVisit>
      <CurrentTreateNum>sample string 15</CurrentTreateNum>
      <DebitLineObject />
      <MainPrice>true</MainPrice>
      <OperState>sample string 8</OperState>
      <SeriesStandard>1</SeriesStandard>
      <TreatesCount>14</TreatesCount>
      <acc_prime>sample string 12</acc_prime>
      <branch_name>sample string 4</branch_name>
      <branchcode>1</branchcode>
      <code>26</code>
      <decoding_type>1</decoding_type>
      <disrict>sample string 3</disrict>
      <district>sample string 22</district>
      <district_code>1</district_code>
      <emp_for_service_code>1</emp_for_service_code>
      <formsArchives xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:short>1</d4p1:short>
        <d4p1:short>2</d4p1:short>
      </formsArchives>
      <formsList xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:short>1</d4p1:short>
        <d4p1:short>2</d4p1:short>
      </formsList>
      <groups_name>sample string 13</groups_name>
      <hiddenPrice>true</hiddenPrice>
      <insur_code>23</insur_code>
      <insure>sample string 24</insure>
      <insurerIdMoh>1</insurerIdMoh>
      <insurerName>sample string 2</insurerName>
      <interface_code_districts>sample string 20</interface_code_districts>
      <interface_code_insur>sample string 19</interface_code_insur>
      <invoice_insur_doc>1</invoice_insur_doc>
      <isInsureMustOblig>sample string 17</isInsureMustOblig>
      <line_code>21</line_code>
      <operMabarCode>sample string 10</operMabarCode>
      <operName>sample string 9</operName>
      <oper_code>7</oper_code>
      <oper_user_code>6</oper_user_code>
      <paid>sample string 27</paid>
      <price>1</price>
      <priceGroup>sample string 5</priceGroup>
      <pricegroupcode>1</pricegroupcode>
      <processStatus>1</processStatus>
      <quantity>25</quantity>
      <relatedSeriesLastStandard>1</relatedSeriesLastStandard>
      <selfpay>sample string 18</selfpay>
      <sticker>sample string 11</sticker>
    </Debit4FullVisit>
  </debits>
</DebitsRetunObj>

application/bson

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