POST Order

Request Information

URI Parameters

None.

Body Parameters

OrderViewModels
NameDescriptionTypeAdditional information
CustomerInfo

CustomerViewModels

None.

OrderInfo

Order

None.

ProductInfo

OrderProductViewModels

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerInfo": {
    "ChineseName": "sample string 1",
    "EnglishName": "sample string 2",
    "Phone": "sample string 3",
    "Email": "sample string 4",
    "Address": "sample string 5",
    "Remark": "sample string 6",
    "TransactionPrice": 7,
    "Sign": "sample string 8"
  },
  "OrderInfo": {
    "OrderId": "sample string 1",
    "OrderTime": "2026-02-14T08:11:30.4292864+08:00",
    "Operator": "sample string 3",
    "Share": true,
    "Store": 5,
    "Status": {
      "StatusList": {
        "Id": 64,
        "Name": "sample string 2",
        "Enable": true
      },
      "Status": {
        "Id": 1,
        "OrderId": "sample string 2",
        "StatusId": 64,
        "TimeStamp": "2026-02-14T08:11:30.4292864+08:00"
      }
    },
    "UpdateTime": "2026-02-14T08:11:30.6606688+08:00",
    "Notify": {
      "Phone": true,
      "SMS": true,
      "Email": true
    }
  },
  "ProductInfo": {
    "Product": {
      "Brand": {
        "Id": 1,
        "Name": "sample string 2"
      },
      "Id": 1,
      "Name": "sample string 2",
      "Price": 3,
      "Config": {
        "CustomerInfo": true,
        "CaseName": true,
        "SerialNo": true,
        "CustomConfig": {
          "Case": true,
          "Faceplate": true,
          "Shell": true,
          "ArtWork": true,
          "Cable": true,
          "Options": true,
          "ShellName": true
        },
        "Custom": true
      }
    },
    "CaseName": "sample string 1",
    "SerialNo": "sample string 2",
    "CIEM": {
      "Faceplate": {
        "Left": {
          "Id": 1,
          "ImgUrl": "sample string 2",
          "Price": 3,
          "Color": {
            "Type": {
              "ColorType": 1,
              "Name": "sample string 2"
            },
            "Id": 1,
            "Name": "sample string 2"
          }
        },
        "Right": {
          "Id": 1,
          "ImgUrl": "sample string 2",
          "Price": 3,
          "Color": {
            "Type": {
              "ColorType": 1,
              "Name": "sample string 2"
            },
            "Id": 1,
            "Name": "sample string 2"
          }
        }
      },
      "Shell": {
        "Left": {
          "Color": {
            "Type": {
              "ColorType": 1,
              "Name": "sample string 2"
            },
            "Id": 1,
            "Name": "sample string 2"
          },
          "Id": 1,
          "Price": 2,
          "ImgUrl": "sample string 3"
        },
        "Right": {
          "Color": {
            "Type": {
              "ColorType": 1,
              "Name": "sample string 2"
            },
            "Id": 1,
            "Name": "sample string 2"
          },
          "Id": 1,
          "Price": 2,
          "ImgUrl": "sample string 3"
        }
      },
      "Artwork": {
        "Left": {
          "Id": 1,
          "ImgUrl": "sample string 2",
          "Price": 3,
          "Color": {
            "Id": 1,
            "Name": "sample string 2",
            "Type": {
              "Id": 1,
              "Name": "sample string 2"
            }
          }
        },
        "Right": {
          "Id": 1,
          "ImgUrl": "sample string 2",
          "Price": 3,
          "Color": {
            "Id": 1,
            "Name": "sample string 2",
            "Type": {
              "Id": 1,
              "Name": "sample string 2"
            }
          }
        }
      },
      "ShellName": {
        "Left": {
          "Name": "sample string 1"
        },
        "Right": {
          "Name": "sample string 1"
        }
      },
      "Options": [
        {
          "Id": 1,
          "Content": "sample string 2",
          "Price": 3
        },
        {
          "Id": 1,
          "Content": "sample string 2",
          "Price": 3
        }
      ],
      "Cable": {
        "Id": 1,
        "Name": "sample string 2",
        "ImageUrl": "sample string 3",
        "Price": 4
      },
      "Case": {
        "Id": 1,
        "Name": "sample string 2",
        "ImageUrl": "sample string 3",
        "Price": 4
      },
      "Prototype": "sample string 1"
    }
  }
}

application/xml, text/xml

Sample:
<OrderViewModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JmplusAPI.ViewModels.Order">
  <CustomerInfo>
    <Address>sample string 5</Address>
    <ChineseName>sample string 1</ChineseName>
    <Email>sample string 4</Email>
    <EnglishName>sample string 2</EnglishName>
    <Phone>sample string 3</Phone>
    <Remark>sample string 6</Remark>
    <Sign>sample string 8</Sign>
    <TransactionPrice>7</TransactionPrice>
  </CustomerInfo>
  <OrderInfo>
    <Notify>
      <Email>true</Email>
      <Phone>true</Phone>
      <SMS>true</SMS>
    </Notify>
    <Operator>sample string 3</Operator>
    <OrderId>sample string 1</OrderId>
    <OrderTime>2026-02-14T08:11:30.4292864+08:00</OrderTime>
    <Share>true</Share>
    <Status>
      <Status>
        <Id>1</Id>
        <OrderId>sample string 2</OrderId>
        <StatusId>64</StatusId>
        <TimeStamp>2026-02-14T08:11:30.4292864+08:00</TimeStamp>
      </Status>
      <StatusList>
        <Enable>true</Enable>
        <Id>64</Id>
        <Name>sample string 2</Name>
      </StatusList>
    </Status>
    <Store>5</Store>
    <UpdateTime>2026-02-14T08:11:30.6606688+08:00</UpdateTime>
  </OrderInfo>
  <ProductInfo>
    <CIEM>
      <Artwork>
        <Left xmlns:d5p1="http://schemas.datacontract.org/2004/07/JmplusAPI.ViewModels.CIEM">
          <d5p1:Color>
            <d5p1:Id>1</d5p1:Id>
            <d5p1:Name>sample string 2</d5p1:Name>
            <d5p1:Type>
              <d5p1:Id>1</d5p1:Id>
              <d5p1:Name>sample string 2</d5p1:Name>
            </d5p1:Type>
          </d5p1:Color>
          <d5p1:Id>1</d5p1:Id>
        </Left>
        <Right xmlns:d5p1="http://schemas.datacontract.org/2004/07/JmplusAPI.ViewModels.CIEM">
          <d5p1:Color>
            <d5p1:Id>1</d5p1:Id>
            <d5p1:Name>sample string 2</d5p1:Name>
            <d5p1:Type>
              <d5p1:Id>1</d5p1:Id>
              <d5p1:Name>sample string 2</d5p1:Name>
            </d5p1:Type>
          </d5p1:Color>
          <d5p1:Id>1</d5p1:Id>
        </Right>
      </Artwork>
      <Cable xmlns:d4p1="http://schemas.datacontract.org/2004/07/JmplusAPI.ViewModels.CIEM">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:ImageUrl>sample string 3</d4p1:ImageUrl>
        <d4p1:Name>sample string 2</d4p1:Name>
      </Cable>
      <Case xmlns:d4p1="http://schemas.datacontract.org/2004/07/JmplusAPI.ViewModels.CIEM">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:ImageUrl>sample string 3</d4p1:ImageUrl>
        <d4p1:Name>sample string 2</d4p1:Name>
      </Case>
      <Faceplate>
        <Left xmlns:d5p1="http://schemas.datacontract.org/2004/07/JmplusAPI.ViewModels.CIEM">
          <d5p1:Color>
            <d5p1:Id>1</d5p1:Id>
            <d5p1:Name>sample string 2</d5p1:Name>
            <d5p1:Type>
              <d5p1:ColorType>1</d5p1:ColorType>
              <d5p1:Name>sample string 2</d5p1:Name>
            </d5p1:Type>
          </d5p1:Color>
          <d5p1:Id>1</d5p1:Id>
        </Left>
        <Right xmlns:d5p1="http://schemas.datacontract.org/2004/07/JmplusAPI.ViewModels.CIEM">
          <d5p1:Color>
            <d5p1:Id>1</d5p1:Id>
            <d5p1:Name>sample string 2</d5p1:Name>
            <d5p1:Type>
              <d5p1:ColorType>1</d5p1:ColorType>
              <d5p1:Name>sample string 2</d5p1:Name>
            </d5p1:Type>
          </d5p1:Color>
          <d5p1:Id>1</d5p1:Id>
        </Right>
      </Faceplate>
      <Options xmlns:d4p1="http://schemas.datacontract.org/2004/07/JmplusAPI.ViewModels.CIEM">
        <d4p1:OptionsViewModels>
          <d4p1:Id>1</d4p1:Id>
        </d4p1:OptionsViewModels>
        <d4p1:OptionsViewModels>
          <d4p1:Id>1</d4p1:Id>
        </d4p1:OptionsViewModels>
      </Options>
      <Prototype>sample string 1</Prototype>
      <Shell>
        <Left xmlns:d5p1="http://schemas.datacontract.org/2004/07/JmplusAPI.ViewModels.CIEM">
          <d5p1:Color>
            <d5p1:Id>1</d5p1:Id>
            <d5p1:Name>sample string 2</d5p1:Name>
            <d5p1:Type>
              <d5p1:ColorType>1</d5p1:ColorType>
              <d5p1:Name>sample string 2</d5p1:Name>
            </d5p1:Type>
          </d5p1:Color>
          <d5p1:Id>1</d5p1:Id>
        </Left>
        <Right xmlns:d5p1="http://schemas.datacontract.org/2004/07/JmplusAPI.ViewModels.CIEM">
          <d5p1:Color>
            <d5p1:Id>1</d5p1:Id>
            <d5p1:Name>sample string 2</d5p1:Name>
            <d5p1:Type>
              <d5p1:ColorType>1</d5p1:ColorType>
              <d5p1:Name>sample string 2</d5p1:Name>
            </d5p1:Type>
          </d5p1:Color>
          <d5p1:Id>1</d5p1:Id>
        </Right>
      </Shell>
      <ShellName>
        <Left xmlns:d5p1="http://schemas.datacontract.org/2004/07/JmplusAPI.ViewModels.CIEM">
          <d5p1:Name>sample string 1</d5p1:Name>
        </Left>
        <Right xmlns:d5p1="http://schemas.datacontract.org/2004/07/JmplusAPI.ViewModels.CIEM">
          <d5p1:Name>sample string 1</d5p1:Name>
        </Right>
      </ShellName>
    </CIEM>
    <CaseName>sample string 1</CaseName>
    <Product xmlns:d3p1="http://schemas.datacontract.org/2004/07/JmplusAPI.ViewModels.Product">
      <d3p1:Brand xmlns:d4p1="http://schemas.datacontract.org/2004/07/JmplusAPI.ViewModels.Brand">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </d3p1:Brand>
      <d3p1:Config>
        <d3p1:CaseName>true</d3p1:CaseName>
        <d3p1:Custom>true</d3p1:Custom>
        <d3p1:CustomConfig xmlns:d5p1="http://schemas.datacontract.org/2004/07/JmplusAPI.ViewModels.CIEM">
          <d5p1:ArtWork>true</d5p1:ArtWork>
          <d5p1:Cable>true</d5p1:Cable>
          <d5p1:Case>true</d5p1:Case>
          <d5p1:Faceplate>true</d5p1:Faceplate>
          <d5p1:Options>true</d5p1:Options>
          <d5p1:Shell>true</d5p1:Shell>
        </d3p1:CustomConfig>
        <d3p1:CustomerInfo>true</d3p1:CustomerInfo>
        <d3p1:SerialNo>true</d3p1:SerialNo>
      </d3p1:Config>
      <d3p1:Id>1</d3p1:Id>
      <d3p1:Name>sample string 2</d3p1:Name>
      <d3p1:Price>3</d3p1:Price>
    </Product>
    <SerialNo>sample string 2</SerialNo>
  </ProductInfo>
</OrderViewModels>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.