POST api/Forms/GetContractAuthenticate
Request Information
URI Parameters
None.
Body Parameters
AuthenticateVNMName | Description | Type | Additional 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:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>