POST api/SmartPhoneOrders/{clientid}
Submit new order.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientid | integer |
Required |
Body Parameters
SmartPhoneInput| Name | Description | Type | Additional information |
|---|---|---|---|
| subcategory_id |
SubCategory Id. |
integer |
None. |
| hierarchy |
Employee Id. Format: "|EMPLOYEEID|" |
string |
None. |
| product_sku |
Product SKU. You can use api/Products to find available products. |
string |
None. |
| product_options_sku_list |
Product options SKU list. You can use api/ProductOptions to find available product options. |
Collection of string |
None. |
| desired_due_date_utc |
Desired due date for completing the order. Must be in future. Please provide UTC datetime. |
date |
None. |
| bank_account_number |
Bank account number |
string |
None. |
| sub_account_number |
Sub account number |
string |
None. |
| service_address |
Service address |
string |
None. |
| service_city |
Service address - City |
string |
None. |
| service_state_short |
Service address - State (short). Example: "NY" |
string |
None. |
| service_zip |
Service address - Zip code |
string |
None. |
| service_name |
Service full name |
string |
None. |
| service_email |
Service email |
string |
None. |
| service_phone |
Service phone |
string |
None. |
| service_phone_ext |
Service phone extension |
string |
None. |
| is_ticket_contact_same_as_service_contact |
Is ticket contact same as service contact flag. True if ticket contact is the same. False by default. |
boolean |
None. |
| ticket_name |
Ticket full name |
string |
None. |
| ticket_email |
Ticket email |
string |
None. |
| ticket_phone |
Ticket phone |
string |
None. |
| ticket_phone_ext |
Ticket phone extension |
string |
None. |
| user_first_name |
User first name |
string |
None. |
| user_last_name |
User last name |
string |
None. |
| user_email |
User email |
string |
None. |
| shipping_address |
Shipping address |
string |
None. |
| shipping_city |
Shipping address - City |
string |
None. |
| shipping_state_short |
Shipping address - State (short). Example: "NY" |
string |
None. |
| shipping_zip |
Shipping address - Zip code |
string |
None. |
| comments |
Comments. You can use this as free text field. |
string |
None. |
Request Formats
application/json, text/json
{
"subcategory_id": 1,
"hierarchy": "sample string 1",
"product_sku": "sample string 2",
"product_options_sku_list": [
"sample string 1",
"sample string 2"
],
"desired_due_date_utc": "2026-04-02T05:23:35.2596379-04:00",
"bank_account_number": "sample string 4",
"sub_account_number": "sample string 5",
"service_address": "sample string 6",
"service_city": "sample string 7",
"service_state_short": "sample string 8",
"service_zip": "sample string 9",
"service_name": "sample string 10",
"service_email": "sample string 11",
"service_phone": "sample string 12",
"service_phone_ext": "sample string 13",
"is_ticket_contact_same_as_service_contact": true,
"ticket_name": "sample string 15",
"ticket_email": "sample string 16",
"ticket_phone": "sample string 17",
"ticket_phone_ext": "sample string 18",
"user_first_name": "sample string 19",
"user_last_name": "sample string 20",
"user_email": "sample string 21",
"shipping_address": "sample string 22",
"shipping_city": "sample string 23",
"shipping_state_short": "sample string 24",
"shipping_zip": "sample string 25",
"comments": "sample string 26"
}
Response Information
Resource Description
StandardResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| messagesCount |
Number of messages in response |
integer |
None. |
| hasErrors |
Summary error flag. If any of the response messages has errors, flag is set to True. |
boolean |
None. |
| messages |
List of response messages |
Collection of StandardResponseMessage |
None. |
| content |
Response content. Can hold ticket id, pricing information, additional product information etc. |
Object |
None. |
Response Formats
application/json, text/json
{
"messagesCount": 0,
"hasErrors": false,
"messages": [],
"content": {}
}