GET api/Visits/getCustSummaries?pCustNum={pCustNum}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pCustNum

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PreviousVisitSummary
NameDescriptionTypeAdditional information
_id

ObjectId

None.

EmpName

string

None.

visitCode

integer

None.

summaryTitle

string

None.

creationDate

date

None.

summary

Collection of SummaryField

None.

operName

string

None.

templateName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "EmpName": "sample string 1",
    "visitCode": 2,
    "summaryTitle": "sample string 3",
    "creationDate": "2024-11-21T11:50:09.9592724+02:00",
    "summary": [
      {
        "title": "sample string 1",
        "value": "sample string 2",
        "type": "sample string 3",
        "name": "sample string 4",
        "rows": 5,
        "cols": 6
      },
      {
        "title": "sample string 1",
        "value": "sample string 2",
        "type": "sample string 3",
        "name": "sample string 4",
        "rows": 5,
        "cols": 6
      }
    ],
    "operName": "sample string 4",
    "templateName": "sample string 5",
    "_id": "000000000000000000000000"
  },
  {
    "EmpName": "sample string 1",
    "visitCode": 2,
    "summaryTitle": "sample string 3",
    "creationDate": "2024-11-21T11:50:09.9592724+02:00",
    "summary": [
      {
        "title": "sample string 1",
        "value": "sample string 2",
        "type": "sample string 3",
        "name": "sample string 4",
        "rows": 5,
        "cols": 6
      },
      {
        "title": "sample string 1",
        "value": "sample string 2",
        "type": "sample string 3",
        "name": "sample string 4",
        "rows": 5,
        "cols": 6
      }
    ],
    "operName": "sample string 4",
    "templateName": "sample string 5",
    "_id": "000000000000000000000000"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPreviousVisitSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Visits">
  <PreviousVisitSummary>
    <EmpName>sample string 1</EmpName>
    <_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>
    </_id>
    <creationDate>2024-11-21T11:50:09.9592724+02:00</creationDate>
    <operName>sample string 4</operName>
    <summary>
      <SummaryField>
        <cols>6</cols>
        <name>sample string 4</name>
        <rows>5</rows>
        <title>sample string 1</title>
        <type>sample string 3</type>
        <value>sample string 2</value>
      </SummaryField>
      <SummaryField>
        <cols>6</cols>
        <name>sample string 4</name>
        <rows>5</rows>
        <title>sample string 1</title>
        <type>sample string 3</type>
        <value>sample string 2</value>
      </SummaryField>
    </summary>
    <summaryTitle>sample string 3</summaryTitle>
    <templateName>sample string 5</templateName>
    <visitCode>2</visitCode>
  </PreviousVisitSummary>
  <PreviousVisitSummary>
    <EmpName>sample string 1</EmpName>
    <_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>
    </_id>
    <creationDate>2024-11-21T11:50:09.9592724+02:00</creationDate>
    <operName>sample string 4</operName>
    <summary>
      <SummaryField>
        <cols>6</cols>
        <name>sample string 4</name>
        <rows>5</rows>
        <title>sample string 1</title>
        <type>sample string 3</type>
        <value>sample string 2</value>
      </SummaryField>
      <SummaryField>
        <cols>6</cols>
        <name>sample string 4</name>
        <rows>5</rows>
        <title>sample string 1</title>
        <type>sample string 3</type>
        <value>sample string 2</value>
      </SummaryField>
    </summary>
    <summaryTitle>sample string 3</summaryTitle>
    <templateName>sample string 5</templateName>
    <visitCode>2</visitCode>
  </PreviousVisitSummary>
</ArrayOfPreviousVisitSummary>

application/bson

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