POST v1/Interviewers/{interviewerId}/Offices

User roles allowed to make this request: DomainAdministrator PowerUser RegularUser Supervisor

Permissions required to make this request: Interviewer.Write Interviewer.Read FieldworkOffice.Read

Add fieldwork office to an interviewer. If fieldwork office already exist on interviewer it will be ignored.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
interviewerId

Interviewer interviewerId

string

Required

Body Parameters

Interviewer FieldworkOffice Model

InterviewerFieldworkOfficeModel
NameDescriptionTypeAdditional information
OfficeId

Gets or sets the fieldwork office unique identifier.

string

Required

Request Formats

application/json, text/json

Sample:
{
  "OfficeId": "sample string 1"
}

application/xml, text/xml

Sample:
<InterviewerFieldworkOfficeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">
  <OfficeId>sample string 1</OfficeId>
</InterviewerFieldworkOfficeModel>

application/x-www-form-urlencoded

Sample:
OfficeId=sample

multipart/form-data

Sample:

Sample not available.

Response Information

Resource Description

Message indicating the status of the request

Response Message

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.