POST api/cranedocuments/PostCraneDocumentGroup

Request Information

URI Parameters

None.

Body Parameters

CraneDocumentGroup
NameDescriptionTypeAdditional information
CraneDocumentGroupId

integer

None.

CraneDocumentGroupName

string

Required

String length: inclusive between 0 and 35

CraneDocumentType

CraneDocumentType

Required

CraneDocumentSubgroups

Collection of CraneDocumentSubgroup

None.

InUse

boolean

None.

ObjectState

ObjectState

None.

Request Formats

application/json, text/json

Sample:
{
  "craneDocumentGroupId": 1,
  "craneDocumentGroupName": "sample string 2",
  "craneDocumentType": 0,
  "craneDocumentSubgroups": [
    {
      "craneDocumentSubgroupId": 1,
      "craneDocumentGroupId": 2,
      "craneDocumentSubgroupName": "sample string 3",
      "inUse": true,
      "objectState": 0
    },
    {
      "craneDocumentSubgroupId": 1,
      "craneDocumentGroupId": 2,
      "craneDocumentSubgroupName": "sample string 3",
      "inUse": true,
      "objectState": 0
    }
  ],
  "inUse": true,
  "objectState": 0
}

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.