POST api/Forms/GetContractJson

Request Information

URI Parameters

None.

Body Parameters

AuthenticateVNM
NameDescriptionTypeAdditional information
settings

Settings

None.

accountInfo

AccountInfo

None.

authInfo

AuthenticationInfo

None.

contractInfo

ContractInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "settings": {
    "apiUrl": "sample string 1"
  },
  "accountInfo": {
    "username": "sample string 1",
    "password": "sample string 2",
    "rememberMe": true,
    "clientid": "sample string 4",
    "clientsecret": "sample string 5"
  },
  "authInfo": {
    "access_token": "sample string 1",
    "refresh_token": "sample string 2"
  },
  "contractInfo": {
    "Ref": "sample string 1"
  }
}

application/xml, text/xml

Sample:
<AuthenticateVNM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Appvity.eOffice.Backend.Models">
  <accountInfo>
    <clientid>sample string 4</clientid>
    <clientsecret>sample string 5</clientsecret>
    <password>sample string 2</password>
    <rememberMe>true</rememberMe>
    <username>sample string 1</username>
  </accountInfo>
  <authInfo>
    <access_token>sample string 1</access_token>
    <refresh_token>sample string 2</refresh_token>
  </authInfo>
  <contractInfo>
    <Ref>sample string 1</Ref>
  </contractInfo>
  <settings>
    <apiUrl>sample string 1</apiUrl>
  </settings>
</AuthenticateVNM>

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 'AuthenticateVNM'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.