POST api/Visitor/SubmitVisitInvitation?access_token={access_token}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
access_token

string

Required

Body Parameters

SubmitVisitInvitationInput
NameDescriptionTypeAdditional information
Id

integer

None.

Submitor

string

None.

SubmitorPhone

string

None.

VisitorName

string

None.

VisitorPhone

string

None.

VisitorEmail

string

None.

VisitorCompany

string

None.

VisitType

integer

None.

PlaneVisitBeginDate

date

None.

PlaneVisitEndDate

date

None.

AppId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Submitor": "sample string 2",
  "SubmitorPhone": "sample string 3",
  "VisitorName": "sample string 4",
  "VisitorPhone": "sample string 5",
  "VisitorEmail": "sample string 6",
  "VisitorCompany": "sample string 7",
  "VisitType": 8,
  "PlaneVisitBeginDate": "2022-11-28 01:52:02",
  "PlaneVisitEndDate": "2022-11-28 01:52:02",
  "AppId": "sample string 11"
}

application/xml, text/xml

Sample:
<SubmitVisitInvitationInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Strong.WebAPI.Model.VisitorManage">
  <AppId>sample string 11</AppId>
  <Id>1</Id>
  <PlaneVisitBeginDate>2022-11-28T01:52:02.0965706+08:00</PlaneVisitBeginDate>
  <PlaneVisitEndDate>2022-11-28T01:52:02.0965706+08:00</PlaneVisitEndDate>
  <Submitor>sample string 2</Submitor>
  <SubmitorPhone>sample string 3</SubmitorPhone>
  <VisitType>8</VisitType>
  <VisitorCompany>sample string 7</VisitorCompany>
  <VisitorEmail>sample string 6</VisitorEmail>
  <VisitorName>sample string 4</VisitorName>
  <VisitorPhone>sample string 5</VisitorPhone>
</SubmitVisitInvitationInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseResult
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "data": {}
}

application/xml, text/xml

Sample:
<ResponseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StrongWebAPI.Areas.VisitorManage">
  <data />
  <errcode>1</errcode>
  <errmsg>sample string 2</errmsg>
</ResponseResult>