POST api/Visits/FixSummery
Request Information
URI Parameters
None.
Body Parameters
VisitSummaryMongoName | Description | Type | Additional information |
---|---|---|---|
_id | ObjectId |
None. |
|
visitCode | integer |
None. |
|
custNum | integer |
None. |
|
printered | boolean |
None. |
|
summaryTitle | string |
None. |
|
templateName | string |
None. |
|
creationDate | date |
None. |
|
summary | Collection of SummaryField |
None. |
Request Formats
application/json, text/json
Sample:
{ "visitCode": 1, "custNum": 2, "printered": true, "summaryTitle": "sample string 4", "templateName": "sample string 5", "creationDate": "2024-11-21T11:28:16.5660962+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 } ], "_id": "000000000000000000000000" }
application/xml, text/xml
Sample:
<VisitSummaryMongo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Visits"> <_id xmlns:d2p1="http://schemas.datacontract.org/2004/07/MongoDB.Bson"> <d2p1:_a>0</d2p1:_a> <d2p1:_b>0</d2p1:_b> <d2p1:_c>0</d2p1:_c> </_id> <creationDate>2024-11-21T11:28:16.5660962+02:00</creationDate> <custNum>2</custNum> <printered>true</printered> <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 4</summaryTitle> <templateName>sample string 5</templateName> <visitCode>1</visitCode> </VisitSummaryMongo>
application/x-www-form-urlencoded
Sample:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
RetSummaryVisitName | Description | Type | Additional 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": "2024-11-21T11:28:16.5816994+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 } ], "_id": "000000000000000000000000" }, "prevSums": [ { "EmpName": "sample string 1", "visitCode": 2, "summaryTitle": "sample string 3", "creationDate": "2024-11-21T11:28:16.5816994+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:28:16.5816994+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
Sample:
text/xml
Sample:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.