POST api/Account/User/SetEmployer

Request Information

URI Parameters

None.

Body Parameters

OrganizationMembership
NameDescriptionTypeAdditional information
EIN

string

Required

Employer_Id

string

None.

Employer

Employer

Required

ApplicationId

string

None.

IsPointOfContact

boolean

Required

ApplicationStatusId

integer

None.

ApplicationStatus

Status

None.

CreatedBy_Id

string

None.

CreatedAt

date

None.

LastModifiedBy_Id

string

None.

LastModifiedAt

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ein": "sample string 2",
  "employer_Id": "sample string 3",
  "employer": {
    "id": "sample string 1",
    "certificateNumber": "sample string 2",
    "legalName": "sample string 3",
    "ein": "sample string 4",
    "physicalAddress": {
      "id": "sample string 1",
      "streetAddress": "sample string 2",
      "streetAddress2": "sample string 3",
      "city": "sample string 4",
      "state": "sample string 5",
      "zipCode": "sample string 6",
      "zip4": "sample string 7",
      "urbanization": "sample string 8",
      "county": "sample string 9",
      "createdBy_Id": "sample string 10",
      "createdBy": {
        "firstName": "sample string 1",
        "middleName": "sample string 2",
        "lastName": "sample string 3",
        "lastPasswordChangedDate": "2024-11-24T01:01:44.2907204-05:00",
        "organizations": [],
        "disabled": true,
        "deleted": true,
        "lastModifiedAt": "2024-11-24T01:01:44.2907204-05:00",
        "createdAt": "2024-11-24T01:01:44.2907204-05:00",
        "createdBy_Id": "sample string 9",
        "lastModifiedBy_Id": "sample string 10",
        "isReturningUser": true,
        "loggedInAt": "2024-11-24T01:01:44.2907204-05:00",
        "isEmailTextFormat": true,
        "isLoggedIn": true,
        "email": "sample string 15",
        "emailConfirmed": true,
        "passwordHash": "sample string 17",
        "securityStamp": "sample string 18",
        "phoneNumber": "sample string 19",
        "phoneNumberConfirmed": true,
        "twoFactorEnabled": true,
        "lockoutEndDateUtc": "2024-11-24T01:01:44.2907204-05:00",
        "lockoutEnabled": true,
        "accessFailedCount": 23,
        "roles": [],
        "claims": [],
        "logins": [],
        "id": "sample string 24",
        "userName": "sample string 25"
      },
      "createdAt": "2024-11-24T01:01:44.2907204-05:00",
      "lastModifiedBy_Id": "sample string 12",
      "lastModifiedBy": {
        "firstName": "sample string 1",
        "middleName": "sample string 2",
        "lastName": "sample string 3",
        "lastPasswordChangedDate": "2024-11-24T01:01:44.2907204-05:00",
        "organizations": [],
        "disabled": true,
        "deleted": true,
        "lastModifiedAt": "2024-11-24T01:01:44.2907204-05:00",
        "createdAt": "2024-11-24T01:01:44.2907204-05:00",
        "createdBy_Id": "sample string 9",
        "lastModifiedBy_Id": "sample string 10",
        "isReturningUser": true,
        "loggedInAt": "2024-11-24T01:01:44.2907204-05:00",
        "isEmailTextFormat": true,
        "isLoggedIn": true,
        "email": "sample string 15",
        "emailConfirmed": true,
        "passwordHash": "sample string 17",
        "securityStamp": "sample string 18",
        "phoneNumber": "sample string 19",
        "phoneNumberConfirmed": true,
        "twoFactorEnabled": true,
        "lockoutEndDateUtc": "2024-11-24T01:01:44.2907204-05:00",
        "lockoutEnabled": true,
        "accessFailedCount": 23,
        "roles": [],
        "claims": [],
        "logins": [],
        "id": "sample string 24",
        "userName": "sample string 25"
      },
      "lastModifiedAt": "2024-11-24T01:01:44.2907204-05:00"
    },
    "physicalAddress_Id": "sample string 5",
    "createdBy_Id": "sample string 6",
    "createdBy": {
      "firstName": "sample string 1",
      "middleName": "sample string 2",
      "lastName": "sample string 3",
      "lastPasswordChangedDate": "2024-11-24T01:01:44.2907204-05:00",
      "organizations": [],
      "disabled": true,
      "deleted": true,
      "lastModifiedAt": "2024-11-24T01:01:44.2907204-05:00",
      "createdAt": "2024-11-24T01:01:44.2907204-05:00",
      "createdBy_Id": "sample string 9",
      "lastModifiedBy_Id": "sample string 10",
      "isReturningUser": true,
      "loggedInAt": "2024-11-24T01:01:44.2907204-05:00",
      "isEmailTextFormat": true,
      "isLoggedIn": true,
      "email": "sample string 15",
      "emailConfirmed": true,
      "passwordHash": "sample string 17",
      "securityStamp": "sample string 18",
      "phoneNumber": "sample string 19",
      "phoneNumberConfirmed": true,
      "twoFactorEnabled": true,
      "lockoutEndDateUtc": "2024-11-24T01:01:44.2907204-05:00",
      "lockoutEnabled": true,
      "accessFailedCount": 23,
      "roles": [],
      "claims": [],
      "logins": [],
      "id": "sample string 24",
      "userName": "sample string 25"
    },
    "createdAt": "2024-11-24T01:01:44.2907204-05:00",
    "lastModifiedBy_Id": "sample string 8",
    "lastModifiedBy": {
      "firstName": "sample string 1",
      "middleName": "sample string 2",
      "lastName": "sample string 3",
      "lastPasswordChangedDate": "2024-11-24T01:01:44.2907204-05:00",
      "organizations": [],
      "disabled": true,
      "deleted": true,
      "lastModifiedAt": "2024-11-24T01:01:44.2907204-05:00",
      "createdAt": "2024-11-24T01:01:44.2907204-05:00",
      "createdBy_Id": "sample string 9",
      "lastModifiedBy_Id": "sample string 10",
      "isReturningUser": true,
      "loggedInAt": "2024-11-24T01:01:44.2907204-05:00",
      "isEmailTextFormat": true,
      "isLoggedIn": true,
      "email": "sample string 15",
      "emailConfirmed": true,
      "passwordHash": "sample string 17",
      "securityStamp": "sample string 18",
      "phoneNumber": "sample string 19",
      "phoneNumberConfirmed": true,
      "twoFactorEnabled": true,
      "lockoutEndDateUtc": "2024-11-24T01:01:44.2907204-05:00",
      "lockoutEnabled": true,
      "accessFailedCount": 23,
      "roles": [],
      "claims": [],
      "logins": [],
      "id": "sample string 24",
      "userName": "sample string 25"
    },
    "lastModifiedAt": "2024-11-24T01:01:44.2907204-05:00"
  },
  "applicationId": "sample string 4",
  "isPointOfContact": true,
  "applicationStatusId": 1,
  "applicationStatus": {
    "id": 1,
    "name": "sample string 2",
    "isActive": true
  },
  "createdBy_Id": "sample string 6",
  "createdAt": "2024-11-24T01:01:44.2907204-05:00",
  "lastModifiedBy_Id": "sample string 8",
  "lastModifiedAt": "2024-11-24T01:01:44.2907204-05:00"
}

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 'DOL.WHD.Section14c.Domain.Models.Identity.ApplicationUser' 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 'DOL.WHD.Section14c.Domain.Models.Identity.ApplicationUser' 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 'OrganizationMembership'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.