POST api/Ops

Request Information

URI Parameters

None.

Body Parameters

tblOp
NameDescriptionTypeAdditional information
Id

integer

None.

SupId

integer

None.

oName

string

None.

Prc

decimal number

None.

OrdNo

integer

None.

tblSup

tblSup

None.

tblGrpOps

Collection of tblGrpOps

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "SupId": 2,
  "oName": "sample string 3",
  "Prc": 4.1,
  "OrdNo": 5,
  "tblSup": {
    "id": 1,
    "sCode": "sample string 2",
    "sName": "sample string 3",
    "AreaId": 4,
    "Addr": "sample string 5",
    "OpnTm": "00:00:00.1234567",
    "ClsTm": "00:00:00.1234567",
    "Phone1": "sample string 8",
    "Phone2": "sample string 9",
    "CatId1": 10,
    "CatId2": 11,
    "TaxRt": 12.1,
    "coLat": 13.1,
    "coLong": 14.1,
    "Pword": "sample string 15",
    "OrdNo": 16,
    "OrdNo2": 17,
    "Sts": 18,
    "DWay0": true,
    "DWay1": true,
    "DWay2": true,
    "Promo": "sample string 22",
    "ImgUrl": "sample string 23",
    "tblArea": {
      "id": 1,
      "aName": "sample string 2",
      "Cost": 3.1,
      "Note": "sample string 4",
      "OrdNo": 5
    },
    "Cat1": {
      "id": 1,
      "cName": "sample string 2",
      "OrdNo": 3,
      "ImgUrl": "sample string 4"
    },
    "Cat2": {
      "id": 1,
      "cName": "sample string 2",
      "OrdNo": 3,
      "ImgUrl": "sample string 4"
    }
  },
  "tblGrpOps": [
    {
      "Id": 1,
      "GrpId": 2,
      "OpId": 3,
      "tblGrp": {
        "id": 1,
        "SupId": 2,
        "idSup": 3,
        "gName": "sample string 4",
        "OrdNo": 5,
        "ImgUrl": "sample string 6",
        "tblSup": {
          "id": 1,
          "sCode": "sample string 2",
          "sName": "sample string 3",
          "AreaId": 4,
          "Addr": "sample string 5",
          "OpnTm": "00:00:00.1234567",
          "ClsTm": "00:00:00.1234567",
          "Phone1": "sample string 8",
          "Phone2": "sample string 9",
          "CatId1": 10,
          "CatId2": 11,
          "TaxRt": 12.1,
          "coLat": 13.1,
          "coLong": 14.1,
          "Pword": "sample string 15",
          "OrdNo": 16,
          "OrdNo2": 17,
          "Sts": 18,
          "DWay0": true,
          "DWay1": true,
          "DWay2": true,
          "Promo": "sample string 22",
          "ImgUrl": "sample string 23",
          "tblArea": {
            "id": 1,
            "aName": "sample string 2",
            "Cost": 3.1,
            "Note": "sample string 4",
            "OrdNo": 5
          },
          "Cat1": {
            "id": 1,
            "cName": "sample string 2",
            "OrdNo": 3,
            "ImgUrl": "sample string 4"
          },
          "Cat2": {
            "id": 1,
            "cName": "sample string 2",
            "OrdNo": 3,
            "ImgUrl": "sample string 4"
          }
        }
      }
    },
    {
      "Id": 1,
      "GrpId": 2,
      "OpId": 3,
      "tblGrp": {
        "id": 1,
        "SupId": 2,
        "idSup": 3,
        "gName": "sample string 4",
        "OrdNo": 5,
        "ImgUrl": "sample string 6",
        "tblSup": {
          "id": 1,
          "sCode": "sample string 2",
          "sName": "sample string 3",
          "AreaId": 4,
          "Addr": "sample string 5",
          "OpnTm": "00:00:00.1234567",
          "ClsTm": "00:00:00.1234567",
          "Phone1": "sample string 8",
          "Phone2": "sample string 9",
          "CatId1": 10,
          "CatId2": 11,
          "TaxRt": 12.1,
          "coLat": 13.1,
          "coLong": 14.1,
          "Pword": "sample string 15",
          "OrdNo": 16,
          "OrdNo2": 17,
          "Sts": 18,
          "DWay0": true,
          "DWay1": true,
          "DWay2": true,
          "Promo": "sample string 22",
          "ImgUrl": "sample string 23",
          "tblArea": {
            "id": 1,
            "aName": "sample string 2",
            "Cost": 3.1,
            "Note": "sample string 4",
            "OrdNo": 5
          },
          "Cat1": {
            "id": 1,
            "cName": "sample string 2",
            "OrdNo": 3,
            "ImgUrl": "sample string 4"
          },
          "Cat2": {
            "id": 1,
            "cName": "sample string 2",
            "OrdNo": 3,
            "ImgUrl": "sample string 4"
          }
        }
      }
    }
  ]
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

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.