GET api/Visits/GetVisitSummary?pVisitCode={pVisitCode}&withPrev={withPrev}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pVisitCode

integer

Required

withPrev

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

RetSummaryVisit
NameDescriptionTypeAdditional information
summary

Collection of Object

None.

summaryMongo

VisitSummaryMongo

None.

prevSums

Collection of PreviousVisitSummary

None.

Response Formats

application/json, text/json

Sample:
{
  "summary": [
    {},
    {}
  ],
  "summaryMongo": {
    "visitCode": 1,
    "custNum": 2,
    "printered": true,
    "summaryTitle": "sample string 4",
    "templateName": "sample string 5",
    "creationDate": "2019-10-14T06:41:14.4014242+03: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
      }
    ],
    "_id": "000000000000000000000000"
  },
  "prevSums": [
    {
      "EmpName": "sample string 1",
      "visitCode": 2,
      "summaryTitle": "sample string 3",
      "creationDate": "2019-10-14T06:41:14.4014242+03: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": "2019-10-14T06:41:14.4014242+03: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

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/bson

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