title: Error while Creating a Sales Order Details Using Acumatica REST API
body: <p>I am trying to Create Sales Order from Acumatica RestAPI by using the below API URL:</p>
  
  <p>http://{url}/entity/Default/17.200.001/SalesOrder?ScreenID=SO301000</p>
  
  <pre><code>{
      "OrderType": {
          "value": "SO"
      },
      "CustomerID": {
          "value": "abcd"
      },
      "Status": {
          "value": "Open"
      },    
      "Details":    
      {    
          "InventoryID": {
              "value": "XXX-XX-X"
          },    
          "OrderQty": {
              "value": 2.000000
          },    
          "UnitPrice": {
              "value": 3.450000
          }    
      }
  }
  </code></pre>
  
  <p>The response I am getting when calling the RestAPI is:</p>
  
  <blockquote>
    <p>Response from Postman Status: 400 Bad Request</p>
  </blockquote>
  
  <p>But when I use Square Brackets after Details []
  The response I am getting  REST API is:</p>
  
  <blockquote>
    <p>Response from Postman Status: 200 Ok</p>
  </blockquote>
  
  <pre><code> {
      "OrderType": {
          "value": "SO"
      },
      "CustomerID": {
          "value": "C00008121"
      },
      "Status": {
          "value": "Open"
      },    
      "Details": [    
          {    
              "InventoryID": {
                  "value": "9387-658-L"
              },    
              "OrderQty": {
                  "value": 2.000000
              },    
              "UnitPrice": {
                  "value": 3.450000
              }    
          }    
      ]
   }
  </code></pre>
  
  <p>While trying to call REST API from C#.NET I get error as 400 Bad Result</p>