web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Parse JSON Error "Inva...
Power Automate
Unanswered

Parse JSON Error "Invalid type. Expected Object but got Array."

(0) ShareShare
ReportReport
Posted on by 4
 
Hello everyone! I'm working on a flow where I'm using the "Filter Array" action and need to convert this into dynamic content. So I copied the output info from my "Filter array" action and pasted it into the sample generator. The issue is, the schema provided by the sample generator causes the following error during test runs: 
 
[
  {
    "message""Invalid type. Expected Object but got Array.",
    "lineNumber"0,
    "linePosition"0,
    "path""",
    "schemaId""#",
    "errorType""type",
    "childErrors": []
  }
]
 
 
What can I do to resolve this error? My generated schema for the "Parse JSON" action is below:
 
{
    "type": "object",
    "properties": {
        "body": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "@@odata.etag": {
                        "type": "string"
                    },
                    "ItemInternalId": {
                        "type": "string"
                    },
                    "dataAreaId": {
                        "type": "string"
                    },
                    "PurchaseOrderNumber": {
                        "type": "string"
                    },
                    "LineNumber": {
                        "type": "integer"
                    },
                    "ProcurementProductCategoryName": {
                        "type": "string"
                    },
                    "Tax1099SAddressOrLegalDescription": {
                        "type": "string"
                    },
                    "FixedAssetNumber": {
                        "type": "string"
                    },
                    "Tax1099GTaxYear": {
                        "type": "integer"
                    },
                    "VendorRetentionTermRuleDescription": {
                        "type": "string"
                    },
                    "ProjectSalesUnitSymbol": {
                        "type": "string"
                    },
                    "OrderedPurchaseQuantity": {
                        "type": "integer"
                    },
                    "FormattedDelveryAddress": {
                        "type": "string"
                    },
                    "ProjectCategoryId": {
                        "type": "string"
                    },
                    "AccountingDistributionTemplateName": {
                        "type": "string"
                    },
                    "ItemNumber": {
                        "type": "string"
                    },
                    "DeliveryAddressDescription": {
                        "type": "string"
                    },
                    "MultilineDiscountPercentage": {
                        "type": "integer"
                    },
                    "PurchaseRequisitionId": {
                        "type": "string"
                    },
                    "DeliveryCityInKana": {
                        "type": "string"
                    },
                    "RetailProductVariantNumber": {
                        "type": "string"
                    },
                    "DeliveryStreetInKana": {
                        "type": "string"
                    },
                    "LineDiscountAmount": {
                        "type": "integer"
                    },
                    "ProductStyleId": {
                        "type": "string"
                    },
                    "IsTax1099SPropertyOrServices": {
                        "type": "string"
                    },
                    "ProjectTaxGroupCode": {
                        "type": "string"
                    },
                    "ProjectTaxItemGroupCode": {
                        "type": "string"
                    },
                    "Barcode": {
                        "type": "string"
                    },
                    "IsNewFixedAsset": {
                        "type": "string"
                    },
                    "ProductConfigurationId": {
                        "type": "string"
                    },
                    "Tax1099GVendorStateId": {
                        "type": "string"
                    },
                    "WorkflowState": {
                        "type": "string"
                    },
                    "IsIntrastatTriangularDeal": {
                        "type": "string"
                    },
                    "Tax1099StateId": {
                        "type": "string"
                    },
                    "IsPartialDeliveryPrevented": {
                        "type": "string"
                    },
                    "MultilineDiscountAmount": {
                        "type": "integer"
                    },
                    "Tax1099Type": {
                        "type": "string"
                    },
                    "RequestedDeliveryDate": {
                        "type": "string"
                    },
                    "ItemBatchNumber": {
                        "type": "string"
                    },
                    "DeliveryAddressCountryRegionId": {
                        "type": "string"
                    },
                    "DeliveryAddressLatitude": {
                        "type": "integer"
                    },
                    "ReceivingWarehouseId": {
                        "type": "string"
                    },
                    "DeliveryAddressCity": {
                        "type": "string"
                    },
                    "ConfirmedDeliveryDate": {
                        "type": "string"
                    },
                    "PurchaseUnitSymbol": {
                        "type": "string"
                    },
                    "PurchaseRebateVendorGroupId": {
                        "type": "string"
                    },
                    "IsDeleted": {
                        "type": "string"
                    },
                    "RequesterPersonnelNumber": {
                        "type": "string"
                    },
                    "ProjectId": {
                        "type": "string"
                    },
                    "IsTax1099GTradeOrBusinessIncome": {
                        "type": "string"
                    },
                    "ProjectLinePropertyId": {
                        "type": "string"
                    },
                    "DeliveryAddressDistrictName": {
                        "type": "string"
                    },
                    "DeliveryAddressCountyId": {
                        "type": "string"
                    },
                    "Tax1099SBuyerPartOfRealEstateTaxAmount": {
                        "type": "integer"
                    },
                    "ProductSizeId": {
                        "type": "string"
                    },
                    "FixedPriceCharges": {
                        "type": "integer"
                    },
                    "DeliveryAddressZipCode": {
                        "type": "string"
                    },
                    "UnitWeight": {
                        "type": "integer"
                    },
                    "Tax1099SClosingDate": {
                        "type": "string"
                    },
                    "DeliveryAddressDunsNumber": {
                        "type": "string"
                    },
                    "IsAddedByChannel": {
                        "type": "string"
                    },
                    "PurchasePriceQuantity": {
                        "type": "integer"
                    },
                    "ServiceFiscalInformationCode": {
                        "type": "string"
                    },
                    "DeliveryAddressName": {
                        "type": "string"
                    },
                    "Tax1099BoxId": {
                        "type": "string"
                    },
                    "BudgetReservationLineNumber": {
                        "type": "integer"
                    },
                    "BOMId": {
                        "type": "string"
                    },
                    "FixedAssetTransactionType": {
                        "type": "string"
                    },
                    "DeliveryAddressStreetNumber": {
                        "type": "string"
                    },
                    "ReceivingWarehouseLocationId": {
                        "type": "string"
                    },
                    "NGPCode": {
                        "type": "integer"
                    },
                    "IsDeliveryAddressPrivate": {
                        "type": "string"
                    },
                    "OriginStateId": {
                        "type": "string"
                    },
                    "ItemWithholdingTaxGroupCode": {
                        "type": "string"
                    },
                    "MainAccountIdDisplayValue": {
                        "type": "string"
                    },
                    "OrderedInventoryStatusId": {
                        "type": "string"
                    },
                    "CatchWeightUnitSymbol": {
                        "type": "string"
                    },
                    "DeliveryAddressCountryRegionISOCode": {
                        "type": "string"
                    },
                    "ItemSerialNumber": {
                        "type": "string"
                    },
                    "CalculateLineAmount": {
                        "type": "string"
                    },
                    "ReceivingSiteId": {
                        "type": "string"
                    },
                    "ProjectSalesCurrencyCode": {
                        "type": "string"
                    },
                    "IntrastatTransactionCode": {
                        "type": "string"
                    },
                    "DeliveryAddressLocationId": {
                        "type": "string"
                    },
                    "ProjectActivityNumber": {
                        "type": "string"
                    },
                    "SalesTaxItemGroupCode": {
                        "type": "string"
                    },
                    "RouteId": {
                        "type": "string"
                    },
                    "ProductVersionId": {
                        "type": "string"
                    },
                    "ShipCalendarId": {
                        "type": "string"
                    },
                    "Tax1099GStateTaxWithheldAmount": {
                        "type": "integer"
                    },
                    "IntrastatStatisticsProcedureCode": {
                        "type": "string"
                    },
                    "OverrideSalesTax": {
                        "type": "string"
                    },
                    "LineDescription": {
                        "type": "string"
                    },
                    "GSTHSTTaxType": {
                        "type": "string"
                    },
                    "DeliveryAddressStreet": {
                        "type": "string"
                    },
                    "ConfirmedShippingDate": {
                        "type": "string"
                    },
                    "CustomerReference": {
                        "type": "string"
                    },
                    "InventoryLotId": {
                        "type": "string"
                    },
                    "VendorRetentionTermRuleId": {
                        "type": "string"
                    },
                    "SalesTaxGroupCode": {
                        "type": "string"
                    },
                    "IsDeliveryAddressOrderSpecific": {
                        "type": "string"
                    },
                    "CustomerRequisitionNumber": {
                        "type": "string"
                    },
                    "PurchasePrice": {
                        "type": "integer"
                    },
                    "PlanningPriority": {
                        "type": "integer"
                    },
                    "WillProductReceivingCrossDockProducts": {
                        "type": "string"
                    },
                    "LineDiscountPercentage": {
                        "type": "integer"
                    },
                    "DIOTOperationType": {
                        "type": "string"
                    },
                    "FixedAssetValueModelId": {
                        "type": "string"
                    },
                    "OrderedCatchWeightQuantity": {
                        "type": "integer"
                    },
                    "ProjectWorkerPersonnelNumber": {
                        "type": "string"
                    },
                    "AllowedUnderdeliveryPercentage": {
                        "type": "integer"
                    },
                    "AllowedOverdeliveryPercentage": {
                        "type": "integer"
                    },
                    "DeliveryAddressLongitude": {
                        "type": "integer"
                    },
                    "FixedAssetGroupId": {
                        "type": "string"
                    },
                    "PurchaseOrderLineStatus": {
                        "type": "string"
                    },
                    "IntrastatCommodityCode": {
                        "type": "string"
                    },
                    "DefaultLedgerDimensionDisplayValue": {
                        "type": "string"
                    },
                    "BudgetReservationDocumentNumber": {
                        "type": "string"
                    },
                    "ProductColorId": {
                        "type": "string"
                    },
                    "CFOPCode": {
                        "type": "string"
                    },
                    "DeliveryAddressStateId": {
                        "type": "string"
                    },
                    "DeliveryBuildingCompliment": {
                        "type": "string"
                    },
                    "IntrastatTransportModeCode": {
                        "type": "string"
                    },
                    "Tax1099StateAmount": {
                        "type": "integer"
                    },
                    "DeliveryAddressPostBox": {
                        "type": "string"
                    },
                    "LineAmount": {
                        "type": "integer"
                    },
                    "OriginCountryRegionId": {
                        "type": "string"
                    },
                    "IntrastatPortId": {
                        "type": "string"
                    },
                    "IntrastatSpecialMovementCode": {
                        "type": "string"
                    },
                    "Tax1099Amount": {
                        "type": "integer"
                    },
                    "FinTagDisplayValue": {
                        "type": "string"
                    },
                    "BarCodeSetupId": {
                        "type": "string"
                    },
                    "VendorInvoiceMatchingPolicy": {
                        "type": "string"
                    },
                    "Tax1099GVendorStateTaxId": {
                        "type": "string"
                    },
                    "ProjectSalesPrice": {
                        "type": "integer"
                    },
                    "RequestedShippingDate": {
                        "type": "string"
                    },
                    "PurchaseOrderLineCreationMethod": {
                        "type": "string"
                    },
                    "WithholdingTaxGroupCode": {
                        "type": "string"
                    },
                    "SkipCreateAutoCharges": {
                        "type": "string"
                    },
                    "ExternalItemNumber": {
                        "type": "string"
                    },
                    "IsProjectPayWhenPaid": {
                        "type": "string"
                    },
                    "IsLineStopped": {
                        "type": "string"
                    },
                    "IntrastatStatisticValue": {
                        "type": "integer"
                    },
                    "DlvMode": {
                        "type": "string"
                    },
                    "DlvTerm": {
                        "type": "string"
                    },
                    "PurchaseOrderHeader": {
                        "type": "object",
                        "properties": {
                            "@@odata.type": {
                                "type": "string"
                            },
                            "PurchaseOrderNumber": {
                                "type": "string"
                            },
                            "dataAreaId": {
                                "type": "string"
                            }
                        }
                    }
                },
                "required": [
                    "@@odata.etag",
                    "ItemInternalId",
                    "dataAreaId",
                    "PurchaseOrderNumber",
                    "LineNumber",
                    "ProcurementProductCategoryName",
                    "Tax1099SAddressOrLegalDescription",
                    "FixedAssetNumber",
                    "Tax1099GTaxYear",
                    "VendorRetentionTermRuleDescription",
                    "ProjectSalesUnitSymbol",
                    "OrderedPurchaseQuantity",
                    "FormattedDelveryAddress",
                    "ProjectCategoryId",
                    "AccountingDistributionTemplateName",
                    "ItemNumber",
                    "DeliveryAddressDescription",
                    "MultilineDiscountPercentage",
                    "PurchaseRequisitionId",
                    "DeliveryCityInKana",
                    "RetailProductVariantNumber",
                    "DeliveryStreetInKana",
                    "LineDiscountAmount",
                    "ProductStyleId",
                    "IsTax1099SPropertyOrServices",
                    "ProjectTaxGroupCode",
                    "ProjectTaxItemGroupCode",
                    "Barcode",
                    "IsNewFixedAsset",
                    "ProductConfigurationId",
                    "Tax1099GVendorStateId",
                    "WorkflowState",
                    "IsIntrastatTriangularDeal",
                    "Tax1099StateId",
                    "IsPartialDeliveryPrevented",
                    "MultilineDiscountAmount",
                    "Tax1099Type",
                    "RequestedDeliveryDate",
                    "ItemBatchNumber",
                    "DeliveryAddressCountryRegionId",
                    "DeliveryAddressLatitude",
                    "ReceivingWarehouseId",
                    "DeliveryAddressCity",
                    "ConfirmedDeliveryDate",
                    "PurchaseUnitSymbol",
                    "PurchaseRebateVendorGroupId",
                    "IsDeleted",
                    "RequesterPersonnelNumber",
                    "ProjectId",
                    "IsTax1099GTradeOrBusinessIncome",
                    "ProjectLinePropertyId",
                    "DeliveryAddressDistrictName",
                    "DeliveryAddressCountyId",
                    "Tax1099SBuyerPartOfRealEstateTaxAmount",
                    "ProductSizeId",
                    "FixedPriceCharges",
                    "DeliveryAddressZipCode",
                    "UnitWeight",
                    "Tax1099SClosingDate",
                    "DeliveryAddressDunsNumber",
                    "IsAddedByChannel",
                    "PurchasePriceQuantity",
                    "ServiceFiscalInformationCode",
                    "DeliveryAddressName",
                    "Tax1099BoxId",
                    "BudgetReservationLineNumber",
                    "BOMId",
                    "FixedAssetTransactionType",
                    "DeliveryAddressStreetNumber",
                    "ReceivingWarehouseLocationId",
                    "NGPCode",
                    "IsDeliveryAddressPrivate",
                    "OriginStateId",
                    "ItemWithholdingTaxGroupCode",
                    "MainAccountIdDisplayValue",
                    "OrderedInventoryStatusId",
                    "CatchWeightUnitSymbol",
                    "DeliveryAddressCountryRegionISOCode",
                    "ItemSerialNumber",
                    "CalculateLineAmount",
                    "ReceivingSiteId",
                    "ProjectSalesCurrencyCode",
                    "IntrastatTransactionCode",
                    "DeliveryAddressLocationId",
                    "ProjectActivityNumber",
                    "SalesTaxItemGroupCode",
                    "RouteId",
                    "ProductVersionId",
                    "ShipCalendarId",
                    "Tax1099GStateTaxWithheldAmount",
                    "IntrastatStatisticsProcedureCode",
                    "OverrideSalesTax",
                    "LineDescription",
                    "GSTHSTTaxType",
                    "DeliveryAddressStreet",
                    "ConfirmedShippingDate",
                    "CustomerReference",
                    "InventoryLotId",
                    "VendorRetentionTermRuleId",
                    "SalesTaxGroupCode",
                    "IsDeliveryAddressOrderSpecific",
                    "CustomerRequisitionNumber",
                    "PurchasePrice",
                    "PlanningPriority",
                    "WillProductReceivingCrossDockProducts",
                    "LineDiscountPercentage",
                    "DIOTOperationType",
                    "FixedAssetValueModelId",
                    "OrderedCatchWeightQuantity",
                    "ProjectWorkerPersonnelNumber",
                    "AllowedUnderdeliveryPercentage",
                    "AllowedOverdeliveryPercentage",
                    "DeliveryAddressLongitude",
                    "FixedAssetGroupId",
                    "PurchaseOrderLineStatus",
                    "IntrastatCommodityCode",
                    "DefaultLedgerDimensionDisplayValue",
                    "BudgetReservationDocumentNumber",
                    "ProductColorId",
                    "CFOPCode",
                    "DeliveryAddressStateId",
                    "DeliveryBuildingCompliment",
                    "IntrastatTransportModeCode",
                    "Tax1099StateAmount",
                    "DeliveryAddressPostBox",
                    "LineAmount",
                    "OriginCountryRegionId",
                    "IntrastatPortId",
                    "IntrastatSpecialMovementCode",
                    "Tax1099Amount",
                    "FinTagDisplayValue",
                    "BarCodeSetupId",
                    "VendorInvoiceMatchingPolicy",
                    "Tax1099GVendorStateTaxId",
                    "ProjectSalesPrice",
                    "RequestedShippingDate",
                    "PurchaseOrderLineCreationMethod",
                    "WithholdingTaxGroupCode",
                    "SkipCreateAutoCharges",
                    "ExternalItemNumber",
                    "IsProjectPayWhenPaid",
                    "IsLineStopped",
                    "IntrastatStatisticValue",
                    "DlvMode",
                    "DlvTerm",
                    "PurchaseOrderHeader"
                ]
            }
        }
    }
}
Categories:
I have the same question (0)
  • Suggested answer
    Gyllentid Profile Picture
    894 on at
    Add these brackets on either side of the output you have:
     
    [

    ]
     
    When creating the schema, i chose Use sample payload at the bottom, added the brackets above and pasted the object. In the next step you can choose what you need.
  • Garrett Profile Picture
    4 on at
    Thanks for your suggestion sroo! By object, do you mean pasting my output from the "Filter Array" step or something else? I ended pasting my output from the "Filter Array" step into the schema generator with the added brackets. Now I'm getting a different error after adding the brackets:
     
    [
      {
        "message""Required properties are missing from object: body.",
        "lineNumber"0,
        "linePosition"0,
        "path""[0]",
        "value": [
          "body"
        ],
        "schemaId""#/items",
        "errorType""required",
        "childErrors": []
      },
      {
        "message""Required properties are missing from object: body.",
        "lineNumber"0,
        "linePosition"0,
        "path""[1]",
        "value": [
          "body"
        ],
        "schemaId""#/items",
        "errorType""required",
        "childErrors": []
      },
      {
        "message""Required properties are missing from object: body.",
        "lineNumber"0,
        "linePosition"0,
        "path""[2]",
        "value": [
          "body"
        ],
        "schemaId""#/items",
        "errorType""required",
        "childErrors": []
      },
      {
        "message""Required properties are missing from object: body.",
        "lineNumber"0,
        "linePosition"0,
        "path""[3]",
        "value": [
          "body"
        ],
        "schemaId""#/items",
        "errorType""required",
        "childErrors": []
      },
      {
        "message""Required properties are missing from object: body.",
        "lineNumber"0,
        "linePosition"0,
        "path""[4]",
        "value": [
          "body"
        ],
        "schemaId""#/items",
        "errorType""required",
        "childErrors": []
      }
    ]
     
    Screenshot of my flow steps before the PARSE Json:

     
    My newly generated schema
    {
        "type": "array",
        "items": {
            "type": "object",
            "properties": {
                "body": {
                    "type": "array",
                    "items": {
                        "type": "object",
                        "properties": {
                            "@@odata.etag": {
                                "type": "string"
                            },
                            "ItemInternalId": {
                                "type": "string"
                            },
                            "dataAreaId": {
                                "type": "string"
                            },
                            "PurchaseOrderNumber": {
                                "type": "string"
                            },
                            "LineNumber": {
                                "type": "integer"
                            },
                            "ProcurementProductCategoryName": {
                                "type": "string"
                            },
                            "Tax1099SAddressOrLegalDescription": {
                                "type": "string"
                            },
                            "FixedAssetNumber": {
                                "type": "string"
                            },
                            "Tax1099GTaxYear": {
                                "type": "integer"
                            },
                            "VendorRetentionTermRuleDescription": {
                                "type": "string"
                            },
                            "ProjectSalesUnitSymbol": {
                                "type": "string"
                            },
                            "OrderedPurchaseQuantity": {
                                "type": "integer"
                            },
                            "FormattedDelveryAddress": {
                                "type": "string"
                            },
                            "ProjectCategoryId": {
                                "type": "string"
                            },
                            "AccountingDistributionTemplateName": {
                                "type": "string"
                            },
                            "ItemNumber": {
                                "type": "string"
                            },
                            "DeliveryAddressDescription": {
                                "type": "string"
                            },
                            "MultilineDiscountPercentage": {
                                "type": "integer"
                            },
                            "PurchaseRequisitionId": {
                                "type": "string"
                            },
                            "DeliveryCityInKana": {
                                "type": "string"
                            },
                            "RetailProductVariantNumber": {
                                "type": "string"
                            },
                            "DeliveryStreetInKana": {
                                "type": "string"
                            },
                            "LineDiscountAmount": {
                                "type": "integer"
                            },
                            "ProductStyleId": {
                                "type": "string"
                            },
                            "IsTax1099SPropertyOrServices": {
                                "type": "string"
                            },
                            "ProjectTaxGroupCode": {
                                "type": "string"
                            },
                            "ProjectTaxItemGroupCode": {
                                "type": "string"
                            },
                            "Barcode": {
                                "type": "string"
                            },
                            "IsNewFixedAsset": {
                                "type": "string"
                            },
                            "ProductConfigurationId": {
                                "type": "string"
                            },
                            "Tax1099GVendorStateId": {
                                "type": "string"
                            },
                            "WorkflowState": {
                                "type": "string"
                            },
                            "IsIntrastatTriangularDeal": {
                                "type": "string"
                            },
                            "Tax1099StateId": {
                                "type": "string"
                            },
                            "IsPartialDeliveryPrevented": {
                                "type": "string"
                            },
                            "MultilineDiscountAmount": {
                                "type": "integer"
                            },
                            "Tax1099Type": {
                                "type": "string"
                            },
                            "RequestedDeliveryDate": {
                                "type": "string"
                            },
                            "ItemBatchNumber": {
                                "type": "string"
                            },
                            "DeliveryAddressCountryRegionId": {
                                "type": "string"
                            },
                            "DeliveryAddressLatitude": {
                                "type": "integer"
                            },
                            "ReceivingWarehouseId": {
                                "type": "string"
                            },
                            "DeliveryAddressCity": {
                                "type": "string"
                            },
                            "ConfirmedDeliveryDate": {
                                "type": "string"
                            },
                            "PurchaseUnitSymbol": {
                                "type": "string"
                            },
                            "PurchaseRebateVendorGroupId": {
                                "type": "string"
                            },
                            "IsDeleted": {
                                "type": "string"
                            },
                            "RequesterPersonnelNumber": {
                                "type": "string"
                            },
                            "ProjectId": {
                                "type": "string"
                            },
                            "IsTax1099GTradeOrBusinessIncome": {
                                "type": "string"
                            },
                            "ProjectLinePropertyId": {
                                "type": "string"
                            },
                            "DeliveryAddressDistrictName": {
                                "type": "string"
                            },
                            "DeliveryAddressCountyId": {
                                "type": "string"
                            },
                            "Tax1099SBuyerPartOfRealEstateTaxAmount": {
                                "type": "integer"
                            },
                            "ProductSizeId": {
                                "type": "string"
                            },
                            "FixedPriceCharges": {
                                "type": "integer"
                            },
                            "DeliveryAddressZipCode": {
                                "type": "string"
                            },
                            "UnitWeight": {
                                "type": "integer"
                            },
                            "Tax1099SClosingDate": {
                                "type": "string"
                            },
                            "DeliveryAddressDunsNumber": {
                                "type": "string"
                            },
                            "IsAddedByChannel": {
                                "type": "string"
                            },
                            "PurchasePriceQuantity": {
                                "type": "integer"
                            },
                            "ServiceFiscalInformationCode": {
                                "type": "string"
                            },
                            "DeliveryAddressName": {
                                "type": "string"
                            },
                            "Tax1099BoxId": {
                                "type": "string"
                            },
                            "BudgetReservationLineNumber": {
                                "type": "integer"
                            },
                            "BOMId": {
                                "type": "string"
                            },
                            "FixedAssetTransactionType": {
                                "type": "string"
                            },
                            "DeliveryAddressStreetNumber": {
                                "type": "string"
                            },
                            "ReceivingWarehouseLocationId": {
                                "type": "string"
                            },
                            "NGPCode": {
                                "type": "integer"
                            },
                            "IsDeliveryAddressPrivate": {
                                "type": "string"
                            },
                            "OriginStateId": {
                                "type": "string"
                            },
                            "ItemWithholdingTaxGroupCode": {
                                "type": "string"
                            },
                            "MainAccountIdDisplayValue": {
                                "type": "string"
                            },
                            "OrderedInventoryStatusId": {
                                "type": "string"
                            },
                            "CatchWeightUnitSymbol": {
                                "type": "string"
                            },
                            "DeliveryAddressCountryRegionISOCode": {
                                "type": "string"
                            },
                            "ItemSerialNumber": {
                                "type": "string"
                            },
                            "CalculateLineAmount": {
                                "type": "string"
                            },
                            "ReceivingSiteId": {
                                "type": "string"
                            },
                            "ProjectSalesCurrencyCode": {
                                "type": "string"
                            },
                            "IntrastatTransactionCode": {
                                "type": "string"
                            },
                            "DeliveryAddressLocationId": {
                                "type": "string"
                            },
                            "ProjectActivityNumber": {
                                "type": "string"
                            },
                            "SalesTaxItemGroupCode": {
                                "type": "string"
                            },
                            "RouteId": {
                                "type": "string"
                            },
                            "ProductVersionId": {
                                "type": "string"
                            },
                            "ShipCalendarId": {
                                "type": "string"
                            },
                            "Tax1099GStateTaxWithheldAmount": {
                                "type": "integer"
                            },
                            "IntrastatStatisticsProcedureCode": {
                                "type": "string"
                            },
                            "OverrideSalesTax": {
                                "type": "string"
                            },
                            "LineDescription": {
                                "type": "string"
                            },
                            "GSTHSTTaxType": {
                                "type": "string"
                            },
                            "DeliveryAddressStreet": {
                                "type": "string"
                            },
                            "ConfirmedShippingDate": {
                                "type": "string"
                            },
                            "CustomerReference": {
                                "type": "string"
                            },
                            "InventoryLotId": {
                                "type": "string"
                            },
                            "VendorRetentionTermRuleId": {
                                "type": "string"
                            },
                            "SalesTaxGroupCode": {
                                "type": "string"
                            },
                            "IsDeliveryAddressOrderSpecific": {
                                "type": "string"
                            },
                            "CustomerRequisitionNumber": {
                                "type": "string"
                            },
                            "PurchasePrice": {
                                "type": "integer"
                            },
                            "PlanningPriority": {
                                "type": "integer"
                            },
                            "WillProductReceivingCrossDockProducts": {
                                "type": "string"
                            },
                            "LineDiscountPercentage": {
                                "type": "integer"
                            },
                            "DIOTOperationType": {
                                "type": "string"
                            },
                            "FixedAssetValueModelId": {
                                "type": "string"
                            },
                            "OrderedCatchWeightQuantity": {
                                "type": "integer"
                            },
                            "ProjectWorkerPersonnelNumber": {
                                "type": "string"
                            },
                            "AllowedUnderdeliveryPercentage": {
                                "type": "integer"
                            },
                            "AllowedOverdeliveryPercentage": {
                                "type": "integer"
                            },
                            "DeliveryAddressLongitude": {
                                "type": "integer"
                            },
                            "FixedAssetGroupId": {
                                "type": "string"
                            },
                            "PurchaseOrderLineStatus": {
                                "type": "string"
                            },
                            "IntrastatCommodityCode": {
                                "type": "string"
                            },
                            "DefaultLedgerDimensionDisplayValue": {
                                "type": "string"
                            },
                            "BudgetReservationDocumentNumber": {
                                "type": "string"
                            },
                            "ProductColorId": {
                                "type": "string"
                            },
                            "CFOPCode": {
                                "type": "string"
                            },
                            "DeliveryAddressStateId": {
                                "type": "string"
                            },
                            "DeliveryBuildingCompliment": {
                                "type": "string"
                            },
                            "IntrastatTransportModeCode": {
                                "type": "string"
                            },
                            "Tax1099StateAmount": {
                                "type": "integer"
                            },
                            "DeliveryAddressPostBox": {
                                "type": "string"
                            },
                            "LineAmount": {
                                "type": "integer"
                            },
                            "OriginCountryRegionId": {
                                "type": "string"
                            },
                            "IntrastatPortId": {
                                "type": "string"
                            },
                            "IntrastatSpecialMovementCode": {
                                "type": "string"
                            },
                            "Tax1099Amount": {
                                "type": "integer"
                            },
                            "FinTagDisplayValue": {
                                "type": "string"
                            },
                            "BarCodeSetupId": {
                                "type": "string"
                            },
                            "VendorInvoiceMatchingPolicy": {
                                "type": "string"
                            },
                            "Tax1099GVendorStateTaxId": {
                                "type": "string"
                            },
                            "ProjectSalesPrice": {
                                "type": "integer"
                            },
                            "RequestedShippingDate": {
                                "type": "string"
                            },
                            "PurchaseOrderLineCreationMethod": {
                                "type": "string"
                            },
                            "WithholdingTaxGroupCode": {
                                "type": "string"
                            },
                            "SkipCreateAutoCharges": {
                                "type": "string"
                            },
                            "ExternalItemNumber": {
                                "type": "string"
                            },
                            "IsProjectPayWhenPaid": {
                                "type": "string"
                            },
                            "IsLineStopped": {
                                "type": "string"
                            },
                            "IntrastatStatisticValue": {
                                "type": "integer"
                            },
                            "DlvMode": {
                                "type": "string"
                            },
                            "DlvTerm": {
                                "type": "string"
                            },
                            "PurchaseOrderHeader": {
                                "type": "object",
                                "properties": {
                                    "@@odata.type": {
                                        "type": "string"
                                    },
                                    "PurchaseOrderNumber": {
                                        "type": "string"
                                    },
                                    "dataAreaId": {
                                        "type": "string"
                                    }
                                }
                            }
                        },
                        "required": [
                            "@@odata.etag",
                            "ItemInternalId",
                            "dataAreaId",
                            "PurchaseOrderNumber",
                            "LineNumber",
                            "ProcurementProductCategoryName",
                            "Tax1099SAddressOrLegalDescription",
                            "FixedAssetNumber",
                            "Tax1099GTaxYear",
                            "VendorRetentionTermRuleDescription",
                            "ProjectSalesUnitSymbol",
                            "OrderedPurchaseQuantity",
                            "FormattedDelveryAddress",
                            "ProjectCategoryId",
                            "AccountingDistributionTemplateName",
                            "ItemNumber",
                            "DeliveryAddressDescription",
                            "MultilineDiscountPercentage",
                            "PurchaseRequisitionId",
                            "DeliveryCityInKana",
                            "RetailProductVariantNumber",
                            "DeliveryStreetInKana",
                            "LineDiscountAmount",
                            "ProductStyleId",
                            "IsTax1099SPropertyOrServices",
                            "ProjectTaxGroupCode",
                            "ProjectTaxItemGroupCode",
                            "Barcode",
                            "IsNewFixedAsset",
                            "ProductConfigurationId",
                            "Tax1099GVendorStateId",
                            "WorkflowState",
                            "IsIntrastatTriangularDeal",
                            "Tax1099StateId",
                            "IsPartialDeliveryPrevented",
                            "MultilineDiscountAmount",
                            "Tax1099Type",
                            "RequestedDeliveryDate",
                            "ItemBatchNumber",
                            "DeliveryAddressCountryRegionId",
                            "DeliveryAddressLatitude",
                            "ReceivingWarehouseId",
                            "DeliveryAddressCity",
                            "ConfirmedDeliveryDate",
                            "PurchaseUnitSymbol",
                            "PurchaseRebateVendorGroupId",
                            "IsDeleted",
                            "RequesterPersonnelNumber",
                            "ProjectId",
                            "IsTax1099GTradeOrBusinessIncome",
                            "ProjectLinePropertyId",
                            "DeliveryAddressDistrictName",
                            "DeliveryAddressCountyId",
                            "Tax1099SBuyerPartOfRealEstateTaxAmount",
                            "ProductSizeId",
                            "FixedPriceCharges",
                            "DeliveryAddressZipCode",
                            "UnitWeight",
                            "Tax1099SClosingDate",
                            "DeliveryAddressDunsNumber",
                            "IsAddedByChannel",
                            "PurchasePriceQuantity",
                            "ServiceFiscalInformationCode",
                            "DeliveryAddressName",
                            "Tax1099BoxId",
                            "BudgetReservationLineNumber",
                            "BOMId",
                            "FixedAssetTransactionType",
                            "DeliveryAddressStreetNumber",
                            "ReceivingWarehouseLocationId",
                            "NGPCode",
                            "IsDeliveryAddressPrivate",
                            "OriginStateId",
                            "ItemWithholdingTaxGroupCode",
                            "MainAccountIdDisplayValue",
                            "OrderedInventoryStatusId",
                            "CatchWeightUnitSymbol",
                            "DeliveryAddressCountryRegionISOCode",
                            "ItemSerialNumber",
                            "CalculateLineAmount",
                            "ReceivingSiteId",
                            "ProjectSalesCurrencyCode",
                            "IntrastatTransactionCode",
                            "DeliveryAddressLocationId",
                            "ProjectActivityNumber",
                            "SalesTaxItemGroupCode",
                            "RouteId",
                            "ProductVersionId",
                            "ShipCalendarId",
                            "Tax1099GStateTaxWithheldAmount",
                            "IntrastatStatisticsProcedureCode",
                            "OverrideSalesTax",
                            "LineDescription",
                            "GSTHSTTaxType",
                            "DeliveryAddressStreet",
                            "ConfirmedShippingDate",
                            "CustomerReference",
                            "InventoryLotId",
                            "VendorRetentionTermRuleId",
                            "SalesTaxGroupCode",
                            "IsDeliveryAddressOrderSpecific",
                            "CustomerRequisitionNumber",
                            "PurchasePrice",
                            "PlanningPriority",
                            "WillProductReceivingCrossDockProducts",
                            "LineDiscountPercentage",
                            "DIOTOperationType",
                            "FixedAssetValueModelId",
                            "OrderedCatchWeightQuantity",
                            "ProjectWorkerPersonnelNumber",
                            "AllowedUnderdeliveryPercentage",
                            "AllowedOverdeliveryPercentage",
                            "DeliveryAddressLongitude",
                            "FixedAssetGroupId",
                            "PurchaseOrderLineStatus",
                            "IntrastatCommodityCode",
                            "DefaultLedgerDimensionDisplayValue",
                            "BudgetReservationDocumentNumber",
                            "ProductColorId",
                            "CFOPCode",
                            "DeliveryAddressStateId",
                            "DeliveryBuildingCompliment",
                            "IntrastatTransportModeCode",
                            "Tax1099StateAmount",
                            "DeliveryAddressPostBox",
                            "LineAmount",
                            "OriginCountryRegionId",
                            "IntrastatPortId",
                            "IntrastatSpecialMovementCode",
                            "Tax1099Amount",
                            "FinTagDisplayValue",
                            "BarCodeSetupId",
                            "VendorInvoiceMatchingPolicy",
                            "Tax1099GVendorStateTaxId",
                            "ProjectSalesPrice",
                            "RequestedShippingDate",
                            "PurchaseOrderLineCreationMethod",
                            "WithholdingTaxGroupCode",
                            "SkipCreateAutoCharges",
                            "ExternalItemNumber",
                            "IsProjectPayWhenPaid",
                            "IsLineStopped",
                            "IntrastatStatisticValue",
                            "DlvMode",
                            "DlvTerm",
                            "PurchaseOrderHeader"
                        ]
                    }
                }
            },
            "required": [
                "body"
            ]
        }
    }

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard