POST Api/WebUtilities/EcommAssignTool
Request Information
URI Parameters
None.
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": "28da9794-c66b-4d5b-b79a-989ec53473b5", "userInfo": { "userId": "2580474f-c9a0-4cad-a280-17e928209e25", "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": "752e9df4-3081-441d-ad20-419fd9a035d3" }, "solomonOrderNumber": "sample string 1", "custAccount": { "id": "4f361697-6e8c-4644-9298-2b6801d1ae2d", "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": "2025-01-28T17:19:49.4721317-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>28da9794-c66b-4d5b-b79a-989ec53473b5</CsuserId> <CustAccount> <AccountName>sample string 2</AccountName> <Country>sample string 6</Country> <CreatedDate>2025-01-28T17:19:49.4721317-05:00</CreatedDate> <Createdby>sample string 11</Createdby> <Curry_Id>sample string 9</Curry_Id> <Id>4f361697-6e8c-4644-9298-2b6801d1ae2d</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>752e9df4-3081-441d-ad20-419fd9a035d3</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>2580474f-c9a0-4cad-a280-17e928209e25</UserId> <UserType>SingleUser</UserType> <Username>sample string 1</Username> </UserInfo> </SolomonOrder>
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>