POST Api/WebUtilities/EcommCreateUser?force={force}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
force | boolean |
Default value is False |
Body Parameters
SolomonOrderName | Description | Type | Additional information |
---|---|---|---|
CsuserId | globally unique identifier |
None. |
|
UserInfo | UserInfo |
None. |
|
SolomonOrderNumber | string |
None. |
|
CustAccount | AccountDTO |
None. |
|
InventoryId | string |
None. |
|
LineItems | Collection of LineDetails |
None. |
Request Formats
application/json, text/json
Sample:
{ "csuserId": "5fa912bd-b4db-4ef5-b21c-b995a798f7bb", "userInfo": { "userId": "10101e9a-f788-4865-9266-d50af6bcc459", "username": "sample string 1", "email": "sample string 2", "userType": 1, "firstName": "sample string 3", "lastName": "sample string 4", "trialToolIds": [ 1, 2 ], "trialPeriod": 5, "region": "sample string 6", "market": "sample string 7", "additionalData": "sample string 8", "activationCode": "bbaa58cf-bdf0-4cca-b9c9-eb639ea01ead" }, "solomonOrderNumber": "sample string 1", "custAccount": { "id": "be3b5f9e-5b6a-478d-9b19-e9f06a37f06e", "accountName": "sample string 2", "sol_Cust_Num": "sample string 3", "sol_Cust_Contact": "sample string 4", "sol_Cust_Data": "sample string 5", "country": "sample string 6", "tax_Id0": "sample string 7", "tax_Id1": "sample string 8", "curry_Id": "sample string 9", "sol_Additional_Identifier": "sample string 10", "createdDate": "2024-11-21T04:25:39.2687351-05:00", "createdby": "sample string 11" }, "inventoryId": "sample string 2", "lineItems": [ { "inventoryId": "sample string 1", "itemType": 0, "toolId": 2, "quantity": 3, "duration": 1 }, { "inventoryId": "sample string 1", "itemType": 0, "toolId": 2, "quantity": 3, "duration": 1 } ] }
application/xml, text/xml
Sample:
<SolomonOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccessManager.LegacyTranslations"> <CsuserId>5fa912bd-b4db-4ef5-b21c-b995a798f7bb</CsuserId> <CustAccount> <AccountName>sample string 2</AccountName> <Country>sample string 6</Country> <CreatedDate>2024-11-21T04:25:39.2687351-05:00</CreatedDate> <Createdby>sample string 11</Createdby> <Curry_Id>sample string 9</Curry_Id> <Id>be3b5f9e-5b6a-478d-9b19-e9f06a37f06e</Id> <Sol_Additional_Identifier>sample string 10</Sol_Additional_Identifier> <Sol_Cust_Contact>sample string 4</Sol_Cust_Contact> <Sol_Cust_Data>sample string 5</Sol_Cust_Data> <Sol_Cust_Num>sample string 3</Sol_Cust_Num> <Tax_Id0>sample string 7</Tax_Id0> <Tax_Id1>sample string 8</Tax_Id1> </CustAccount> <InventoryId>sample string 2</InventoryId> <LineItems> <LineDetails> <Duration>1</Duration> <InventoryId>sample string 1</InventoryId> <ItemType>Uses</ItemType> <Quantity>3</Quantity> <ToolId>2</ToolId> </LineDetails> <LineDetails> <Duration>1</Duration> <InventoryId>sample string 1</InventoryId> <ItemType>Uses</ItemType> <Quantity>3</Quantity> <ToolId>2</ToolId> </LineDetails> </LineItems> <SolomonOrderNumber>sample string 1</SolomonOrderNumber> <UserInfo> <ActivationCode>bbaa58cf-bdf0-4cca-b9c9-eb639ea01ead</ActivationCode> <AdditionalData>sample string 8</AdditionalData> <Email>sample string 2</Email> <FirstName>sample string 3</FirstName> <LastName>sample string 4</LastName> <Market>sample string 7</Market> <Region>sample string 6</Region> <TrialPeriod>5</TrialPeriod> <TrialToolIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </TrialToolIds> <UserId>10101e9a-f788-4865-9266-d50af6bcc459</UserId> <UserType>SingleUser</UserType> <Username>sample string 1</Username> </UserInfo> </SolomonOrder>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
AccountJSONObjectName | Description | Type | Additional information |
---|---|---|---|
UserCreated | Object |
None. |
|
AccountCreated | Object |
None. |
|
PayLoad | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "userCreated": {}, "accountCreated": {}, "payLoad": {} }
application/xml, text/xml
Sample:
<AccountJSONObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccessManager.LegacyTranslations"> <AccountCreated /> <PayLoad /> <UserCreated /> </AccountJSONObject>