POST api/courierDetails/InsertcourierDetails

Request Information

URI Parameters

None.

Body Parameters

CourierDetail
NameDescriptionTypeAdditional information
CourierDetailId

integer

None.

SalesOrderId

integer

None.

CompanyDetailId

integer

None.

CourierName

string

None.

CourierNo

string

None.

BookedDate

date

None.

Description

string

None.

SalesOrder

SalesOrder

None.

Request Formats

application/json, text/json

Sample:
{
  "CourierDetailId": 1,
  "SalesOrderId": 1,
  "CompanyDetailId": 1,
  "CourierName": "sample string 2",
  "CourierNo": "sample string 3",
  "BookedDate": "2026-01-20T03:50:12.6208319+00:00",
  "Description": "sample string 4",
  "SalesOrder": {
    "$id": "2",
    "SalesOrderId": 1,
    "OrderNo": "sample string 2",
    "OrderDate": "2026-01-20T03:50:12.6208319+00:00",
    "MemberId": 1,
    "Amoount": 1.0,
    "InsertedDate": "2026-01-20T03:50:12.6208319+00:00",
    "DeliveryAddressLine1": "sample string 3",
    "DeliveryAddressLine2": "sample string 4",
    "DeliveryCity": "sample string 5",
    "DeliveryState": "sample string 6",
    "DeliveryPinCode": "sample string 7",
    "DeliveryLandMark": "sample string 8",
    "DeliveryName": "sample string 9",
    "Status": "sample string 10",
    "InProgressDate": "2026-01-20T03:50:12.6208319+00:00",
    "CompletedDate": "2026-01-20T03:50:12.6208319+00:00",
    "CompanyDetailId": 1,
    "DeliveryContactNo": "sample string 11",
    "DeliveryEmail": "sample string 12",
    "CancelledDate": "2026-01-20T03:50:12.6208319+00:00",
    "CancelledComments": "sample string 13",
    "CancelledBy": "sample string 14",
    "OrderDeliveryCharge": 1.0,
    "OfferType": "sample string 15",
    "DiscountAmount": 1.0,
    "CouponCode": "sample string 16",
    "FreeProductId": "sample string 17",
    "CourierDetails": [
      {
        "$ref": "1"
      },
      {
        "$ref": "1"
      }
    ],
    "DeliveryConfirmations": [
      {
        "$id": "3",
        "DeliveryConfirmationId": 1,
        "SalesOrderId": 1,
        "CompanyDetailId": 1,
        "Name": "sample string 2",
        "DeliveredDate": "2026-01-20T03:50:12.6208319+00:00",
        "Description": "sample string 3",
        "SalesOrder": {
          "$ref": "2"
        }
      },
      {
        "$ref": "3"
      }
    ],
    "MemberDetail": {
      "$id": "4",
      "MemberId": 1,
      "MemberName": "sample string 2",
      "ContactNo": 1,
      "EmailId": "sample string 3",
      "AddressLine1": "sample string 4",
      "AddressLine2": "sample string 5",
      "City": "sample string 6",
      "State": "sample string 7",
      "PinCode": 1,
      "Password": "sample string 8",
      "InsertedDate": "2026-01-20T03:50:12.6208319+00:00",
      "IsActive": 1,
      "ConfirmationCode": "sample string 9",
      "CompanyDetailId": 1,
      "MobileToken": "sample string 10",
      "MemberCarts": [
        {
          "$id": "5",
          "MemberCartId": 1,
          "MemberId": 1,
          "ProductId": 1,
          "Quantity": 1,
          "MemberDetail": {
            "$ref": "4"
          },
          "ProductDetail": {
            "$id": "6",
            "ProductId": 1,
            "SubCategoryId": 1,
            "TaxDetailsId": 1,
            "DiscountDetailsId": 1,
            "CouponId": 1,
            "Title": "sample string 2",
            "Description": "sample string 3",
            "Price": 1.0,
            "InStock": 1,
            "IsActive": 1,
            "Picture": "sample string 4",
            "InsertedBy": 1,
            "InsertedDate": "2026-01-20T03:50:12.6208319+00:00",
            "UpdatedBy": 1,
            "UpdatedDate": "2026-01-20T03:50:12.6208319+00:00",
            "ProdFeatures": "sample string 5",
            "ProdTecDetails": "sample string 6",
            "CompanyDetailId": 1,
            "Variance": 1,
            "ProductType": "sample string 7",
            "BrandTypeId": 1,
            "wholesale": 1,
            "colorcode": 1,
            "CouponDetail": {
              "$id": "7",
              "CouponId": 1,
              "Name": "sample string 2",
              "Code": "sample string 3",
              "Description": "sample string 4",
              "DiscountPercentage": 1.0,
              "IsActive": 1,
              "Picture": "sample string 5",
              "InsertedBy": 1,
              "InsertedDate": "2026-01-20T03:50:12.6208319+00:00",
              "UpdatedBy": 1,
              "UpdatedDate": "2026-01-20T03:50:12.6208319+00:00",
              "ValidFrom": "2026-01-20T03:50:12.6208319+00:00",
              "ValidTo": "2026-01-20T03:50:12.6208319+00:00",
              "CompanyDetailId": 1,
              "AmountFrom": 1.0,
              "AmountTo": 1.0,
              "ProductId": 1,
              "OfferType": "sample string 6",
              "ProductDetails": [
                {
                  "$ref": "6"
                },
                {
                  "$ref": "6"
                }
              ]
            },
            "DiscountDetail": {
              "$id": "8",
              "DiscountDetailsId": 1,
              "Description": "sample string 2",
              "DiscountPercentage": 1.0,
              "IsActive": 1,
              "Picture": "sample string 3",
              "InsertedBy": 1,
              "InsertedDate": "2026-01-20T03:50:12.6208319+00:00",
              "UpdatedBy": 1,
              "UpdatedDate": "2026-01-20T03:50:12.6208319+00:00",
              "ValidFrom": "2026-01-20T03:50:12.6208319+00:00",
              "ValidTo": "2026-01-20T03:50:12.6208319+00:00",
              "CompanyDetailId": 1,
              "ProductDetails": [
                {
                  "$ref": "6"
                },
                {
                  "$ref": "6"
                }
              ]
            },
            "MemberCarts": [
              {
                "$ref": "5"
              },
              {
                "$ref": "5"
              }
            ],
            "MemberOrders": [
              {
                "$id": "9",
                "MemberOrderId": 1,
                "MemberId": 1,
                "ProductId": 1,
                "ProductPrice": 1,
                "Quantity": 1,
                "CouponDiscountPercentage": 1,
                "DiscountPercentage": 1,
                "TaxPercentage": 1,
                "OrderedDate": "2026-01-20T03:50:12.6208319+00:00",
                "MemberDetail": {
                  "$ref": "4"
                },
                "ProductDetail": {
                  "$ref": "6"
                }
              },
              {
                "$ref": "9"
              }
            ],
            "SubCategory": {
              "$id": "10",
              "SubCategoryId": 1,
              "CategoryId": 1,
              "SubCategoryName": "sample string 2",
              "IsActive": 1,
              "PictureURL": "sample string 3",
              "InsertedBy": 1,
              "InsertedDate": "2026-01-20T03:50:12.6208319+00:00",
              "UpdatedBy": 1,
              "UpdatedDate": "2026-01-20T03:50:12.6208319+00:00",
              "CompanyDetailId": 1,
              "ImageURL": "sample string 4",
              "Category": {
                "$id": "11",
                "CategoryId": 1,
                "CategoyName": "sample string 2",
                "IsActive": 1,
                "InsertedBy": 1,
                "InsertedDate": "2026-01-20T03:50:12.6208319+00:00",
                "UpdatedBy": 1,
                "UpdatedDate": "2026-01-20T03:50:12.6208319+00:00",
                "CompanyDetailId": 1,
                "ImageURL": "sample string 3",
                "SubCategories": [
                  {
                    "$ref": "10"
                  },
                  {
                    "$ref": "10"
                  }
                ]
              },
              "ProductDetails": [
                {
                  "$ref": "6"
                },
                {
                  "$ref": "6"
                }
              ]
            },
            "TaxDetail": {
              "$id": "12",
              "TaxDetailsId": 1,
              "Description": "sample string 2",
              "Percentage": 1.0,
              "IsActive": 1,
              "Picture": "sample string 3",
              "InsertedBy": 1,
              "InsertedDate": "2026-01-20T03:50:12.6208319+00:00",
              "UpdatedBy": 1,
              "UpdatedDate": "2026-01-20T03:50:12.6208319+00:00",
              "CompanyDetailId": 1,
              "ProductDetails": [
                {
                  "$ref": "6"
                },
                {
                  "$ref": "6"
                }
              ]
            },
            "ProductFeatures": [
              {
                "$id": "13",
                "ProductFeaturesID": 1,
                "ProductId": 1,
                "Features": "sample string 2",
                "CompanyDetailId": 1,
                "ProductDetail": {
                  "$ref": "6"
                }
              },
              {
                "$ref": "13"
              }
            ],
            "ProductImages": [
              {
                "$id": "14",
                "ProductImageId": 1,
                "ProductId": 1,
                "ImageURL": "sample string 2",
                "CompanyDetailId": 1,
                "ProductDetail": {
                  "$ref": "6"
                }
              },
              {
                "$ref": "14"
              }
            ],
            "ProductReviews": [
              {
                "$id": "15",
                "ProductReviewId": 1,
                "ProductId": 1,
                "MemberId": 1,
                "ReviewComments": "sample string 2",
                "Rating": 1,
                "MemberDetail": {
                  "$ref": "4"
                },
                "ProductDetail": {
                  "$ref": "6"
                }
              },
              {
                "$ref": "15"
              }
            ],
            "ProductStocks": [
              {
                "$id": "16",
                "StockId": 1,
                "ProductId": 1,
                "StockCount": 1,
                "ShowToUser": "sample string 2",
                "ShowIfNoStock": "sample string 3",
                "CompanyDetailId": 1,
                "ProductVarianceId": 1,
                "ProductDetail": {
                  "$ref": "6"
                }
              },
              {
                "$ref": "16"
              }
            ],
            "ProductTecDetails": [
              {
                "$id": "17",
                "ProductTecDetailsId": 1,
                "ProductId": 1,
                "Description": "sample string 2",
                "TechinalDetails": "sample string 3",
                "CompanyDetailId": 1,
                "ProductDetail": {
                  "$ref": "6"
                }
              },
              {
                "$ref": "17"
              }
            ],
            "ProductVariances": [
              {
                "$id": "18",
                "ProductVarianceId": 1,
                "ProductId": 1,
                "VarianceType": "sample string 2",
                "VariancePrice": 1.0,
                "CompanyDetailId": 1,
                "sellingPrice": 1.0,
                "ImageUrl": "sample string 3",
                "InsertedBy": 1,
                "InsertedDate": "2026-01-20T03:50:12.6208319+00:00",
                "VarianceActive": 1,
                "ProductDetail": {
                  "$ref": "6"
                },
                "Wholesaleprices": [
                  {
                    "$id": "19",
                    "WholesalepriceId": 1,
                    "productVarianceId": 1,
                    "wholesaleFromQty": "sample string 2",
                    "wholesaleToQty": "sample string 3",
                    "wholesaleprize": 1.0,
                    "Status": 1,
                    "ProductVariance": {
                      "$ref": "18"
                    }
                  },
                  {
                    "$ref": "19"
                  }
                ],
                "Variancecolorcodes": [
                  {
                    "$id": "20",
                    "VariancecolorcodeId": 1,
                    "colorcode": "sample string 2",
                    "ProductVarianceId": 1,
                    "Status": 1,
                    "ProductVariance": {
                      "$ref": "18"
                    }
                  },
                  {
                    "$ref": "20"
                  }
                ]
              },
              {
                "$ref": "18"
              }
            ],
            "SalesOrderItems": [
              {
                "$id": "21",
                "SalesOrderItemId": 1,
                "SalesOrderId": 1,
                "ProductId": 1,
                "ProductPrice": 1.0,
                "Quantity": 1.0,
                "CouponPercentage": 1.0,
                "DiscountPercentage": 1.0,
                "TaxPercentage": 1.0,
                "CompanyDetailId": 1,
                "ProductVarianceId": 1,
                "SalesOrder": {
                  "$ref": "2"
                },
                "ProductDetail": {
                  "$ref": "6"
                }
              },
              {
                "$ref": "21"
              }
            ],
            "TodayDeals": [
              {
                "$id": "22",
                "TodayDealId": 1,
                "ProductId": 1,
                "CompanyDetailId": 1,
                "Date": "2026-01-20T03:50:12.6208319+00:00",
                "TodayDiscountAmount": 1.0,
                "ProductDetail": {
                  "$ref": "6"
                }
              },
              {
                "$ref": "22"
              }
            ]
          }
        },
        {
          "$ref": "5"
        }
      ],
      "MemberOrders": [
        {
          "$ref": "9"
        },
        {
          "$ref": "9"
        }
      ],
      "ProductReviews": [
        {
          "$ref": "15"
        },
        {
          "$ref": "15"
        }
      ],
      "SalesOrders": [
        {
          "$ref": "2"
        },
        {
          "$ref": "2"
        }
      ]
    },
    "SalesOrderItems": [
      {
        "$ref": "21"
      },
      {
        "$ref": "21"
      }
    ]
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.