POST Api/PositionCategories/CredentialLicenseType

Request Information

URI Parameters

None.

Body Parameters

PositionCategoryCredentialLicenseType
NameDescriptionTypeAdditional information
PositionCategoryCredentialLicenseTypesId

integer

None.

PositionCategoryId

integer

None.

CredentialLicenseTypeId

integer

None.

PositionCategory

PositionCategory

None.

CredentialLicenseType

CredentialLicenseType

None.

Request Formats

application/json, text/json

Sample:
{
  "positionCategoryCredentialLicenseTypesId": 1,
  "positionCategoryId": 2,
  "credentialLicenseTypeId": 3,
  "positionCategory": {
    "positionCategoryId": 1,
    "name": "sample string 2",
    "isActive": true,
    "color": "sample string 4",
    "fontColor": "sample string 5",
    "positionCategoryCredentialLicenseTypes": []
  },
  "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:
{"positionCategoryCredentialLicenseTypesId":1,"positionCategoryId":2,"credentialLicenseTypeId":3,"positionCategory":{"positionCategoryId":1,"name":"sample string 2","isActive":true,"color":"sample string 4","fontColor":"sample string 5","positionCategoryCredentialLicenseTypes":[]},"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 'PositionCategoryCredentialLicenseType'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.