accountLoginSignUpPost
/Account/LoginSignUp
Usage and SDK Samples
curl -X POST\
-H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Account/LoginSignUp"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;
import java.io.File;
import java.util.*;
public class AccountApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
AccountApi apiInstance = new AccountApi();
LoginSignUpForm body = ; // LoginSignUpForm |
try {
LoginSignUpResponse result = apiInstance.accountLoginSignUpPost(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AccountApi#accountLoginSignUpPost");
e.printStackTrace();
}
}
}
import io.swagger.client.api.AccountApi;
public class AccountApiExample {
public static void main(String[] args) {
AccountApi apiInstance = new AccountApi();
LoginSignUpForm body = ; // LoginSignUpForm |
try {
LoginSignUpResponse result = apiInstance.accountLoginSignUpPost(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AccountApi#accountLoginSignUpPost");
e.printStackTrace();
}
}
}
Configuration *apiConfig = [Configuration sharedConfig];
LoginSignUpForm *body = ; // (optional)
AccountApi *apiInstance = [[AccountApi alloc] init];
[apiInstance accountLoginSignUpPostWith:body
completionHandler: ^(LoginSignUpResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;
var api = new Apijainbook.AccountApi()
var opts = {
'body': // {{LoginSignUpForm}}
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.accountLoginSignUpPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class accountLoginSignUpPostExample
{
public void main()
{
var apiInstance = new AccountApi();
var body = new LoginSignUpForm(); // LoginSignUpForm | (optional)
try
{
LoginSignUpResponse result = apiInstance.accountLoginSignUpPost(body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling AccountApi.accountLoginSignUpPost: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiAccountApi();
$body = ; // LoginSignUpForm |
try {
$result = $api_instance->accountLoginSignUpPost($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AccountApi->accountLoginSignUpPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountApi;
my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $body = WWW::SwaggerClient::Object::LoginSignUpForm->new(); # LoginSignUpForm |
eval {
my $result = $api_instance->accountLoginSignUpPost(body => $body);
print Dumper($result);
};
if ($@) {
warn "Exception when calling AccountApi->accountLoginSignUpPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.AccountApi()
body = # LoginSignUpForm | (optional)
try:
api_response = api_instance.account_login_sign_up_post(body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling AccountApi->accountLoginSignUpPost: %s\n" % e)
Parameters
Name | Description |
---|---|
body |