POST Api/ScoreCardItems/PositionCategory

Request Information

URI Parameters

None.

Body Parameters

ScoreCardItemPositionCategory
NameDescriptionTypeAdditional information
ScoreCardItemPositionCategoryId

integer

None.

ScoreCardItemId

integer

None.

PositionCategoryId

integer

None.

ScoreCardItem

ScoreCardItem

None.

PositionCategory

PositionCategory

None.

Request Formats

application/json, text/json

Sample:
{
  "scoreCardItemPositionCategoryId": 1,
  "scoreCardItemId": 2,
  "positionCategoryId": 3,
  "scoreCardItem": {
    "scoreCardItemId": 1,
    "interviewItem": "sample string 2",
    "itemControl": "sample string 3",
    "options": "sample string 4",
    "itemValue": 5,
    "logicalOrder": 1,
    "isActive": true
  },
  "positionCategory": {
    "positionCategoryId": 1,
    "name": "sample string 2",
    "isActive": true,
    "color": "sample string 4",
    "fontColor": "sample string 5",
    "positionCategoryCredentialLicenseTypes": [
      {
        "positionCategoryCredentialLicenseTypesId": 1,
        "positionCategoryId": 2,
        "credentialLicenseTypeId": 3,
        "credentialLicenseType": {
          "credentialLicenseTypeId": 1,
          "name": "sample string 2",
          "isActive": true,
          "toolTip": "sample string 4",
          "formTypeId": 1,
          "notifyDaysPriorToExpirationDate": 1,
          "requiredToStartWork": true,
          "required30DaysAfterBeginningWork": true,
          "formType": {
            "formTypeId": 1,
            "name": "sample string 2",
            "isActive": true,
            "formTypeCategoryId": 1,
            "formTypeCategory": {
              "formTypeCategoryId": 1,
              "name": "sample string 2",
              "isActive": true
            },
            "fileAttachmentId": 1,
            "attachedDocument": "QEA=",
            "azureAttachedDocument": "sample string 4",
            "azureAttachedDocumentUrl": "sample string 5",
            "mimeType": "sample string 6",
            "fileSize": 1,
            "fileName": "sample string 7"
          }
        }
      },
      {
        "positionCategoryCredentialLicenseTypesId": 1,
        "positionCategoryId": 2,
        "credentialLicenseTypeId": 3,
        "credentialLicenseType": {
          "credentialLicenseTypeId": 1,
          "name": "sample string 2",
          "isActive": true,
          "toolTip": "sample string 4",
          "formTypeId": 1,
          "notifyDaysPriorToExpirationDate": 1,
          "requiredToStartWork": true,
          "required30DaysAfterBeginningWork": true,
          "formType": {
            "formTypeId": 1,
            "name": "sample string 2",
            "isActive": true,
            "formTypeCategoryId": 1,
            "formTypeCategory": {
              "formTypeCategoryId": 1,
              "name": "sample string 2",
              "isActive": true
            },
            "fileAttachmentId": 1,
            "attachedDocument": "QEA=",
            "azureAttachedDocument": "sample string 4",
            "azureAttachedDocumentUrl": "sample string 5",
            "mimeType": "sample string 6",
            "fileSize": 1,
            "fileName": "sample string 7"
          }
        }
      }
    ]
  }
}

text/html

Sample:
{"scoreCardItemPositionCategoryId":1,"scoreCardItemId":2,"positionCategoryId":3,"scoreCardItem":{"scoreCardItemId":1,"interviewItem":"sample string 2","itemControl":"sample string 3","options":"sample string 4","itemValue":5,"logicalOrder":1,"isActive":true},"positionCategory":{"positionCategoryId":1,"name":"sample string 2","isActive":true,"color":"sample string 4","fontColor":"sample string 5","positionCategoryCredentialLicenseTypes":[{"positionCategoryCredentialLicenseTypesId":1,"positionCategoryId":2,"credentialLicenseTypeId":3,"credentialLicenseType":{"credentialLicenseTypeId":1,"name":"sample string 2","isActive":true,"toolTip":"sample string 4","formTypeId":1,"notifyDaysPriorToExpirationDate":1,"requiredToStartWork":true,"required30DaysAfterBeginningWork":true,"formType":{"formTypeId":1,"name":"sample string 2","isActive":true,"formTypeCategoryId":1,"formTypeCategory":{"formTypeCategoryId":1,"name":"sample string 2","isActive":true},"fileAttachmentId":1,"attachedDocument":"QEA=","azureAttachedDocument":"sample string 4","azureAttachedDocumentUrl":"sample string 5","mimeType":"sample string 6","fileSize":1,"fileName":"sample string 7"}}},{"positionCategoryCredentialLicenseTypesId":1,"positionCategoryId":2,"credentialLicenseTypeId":3,"credentialLicenseType":{"credentialLicenseTypeId":1,"name":"sample string 2","isActive":true,"toolTip":"sample string 4","formTypeId":1,"notifyDaysPriorToExpirationDate":1,"requiredToStartWork":true,"required30DaysAfterBeginningWork":true,"formType":{"formTypeId":1,"name":"sample string 2","isActive":true,"formTypeCategoryId":1,"formTypeCategory":{"formTypeCategoryId":1,"name":"sample string 2","isActive":true},"fileAttachmentId":1,"attachedDocument":"QEA=","azureAttachedDocument":"sample string 4","azureAttachedDocumentUrl":"sample string 5","mimeType":"sample string 6","fileSize":1,"fileName":"sample string 7"}}}]}}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[UrgentCareExtra.Data.Models.PositionCategoryCredentialLicenseType, UrgentCareExtra.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[UrgentCareExtra.Data.Models.PositionCategoryCredentialLicenseType, UrgentCareExtra.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ScoreCardItemPositionCategory'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.