POST Report/InsertRequest?pageId={pageId}&objectId={objectId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageId

integer

Required

objectId

integer

Required

Body Parameters

VisitDTI
NameDescriptionTypeAdditional information
Schemas

Collection of ObjectId

None.

VisitId

integer

None.

VisitDate

date

None.

VisitDateFrom

date

None.

VisitDateTo

date

None.

SourcingFactoryId

integer

None.

InspectorProfileId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Schemas": [
    {
      "Id": 1
    },
    {
      "Id": 1
    }
  ],
  "VisitId": 1,
  "VisitDate": "2024-09-01T01:58:48.2505249+00:00",
  "VisitDateFrom": "2024-09-01T01:58:48.2505249+00:00",
  "VisitDateTo": "2024-09-01T01:58:48.2505249+00:00",
  "SourcingFactoryId": 1,
  "InspectorProfileId": 2
}

application/xml, text/xml

Sample:
<VisitDTI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BasicQA.Models.Visit">
  <InspectorProfileId>2</InspectorProfileId>
  <SourcingFactoryId>1</SourcingFactoryId>
  <VisitDate>2024-09-01T01:58:48.2505249+00:00</VisitDate>
  <VisitDateFrom>2024-09-01T01:58:48.2505249+00:00</VisitDateFrom>
  <VisitDateTo>2024-09-01T01:58:48.2505249+00:00</VisitDateTo>
  <VisitId>1</VisitId>
  <Schemas xmlns:d2p1="http://schemas.datacontract.org/2004/07/Basic.Sso.Model.Authentication">
    <d2p1:ObjectId>
      <d2p1:Id>1</d2p1:Id>
    </d2p1:ObjectId>
    <d2p1:ObjectId>
      <d2p1:Id>1</d2p1:Id>
    </d2p1:ObjectId>
  </Schemas>
</VisitDTI>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VisitDTI'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>