tipo de recurso timeOfftimeOff resource type
Namespace: microsoft.graphNamespace: microsoft.graph
Uma unidade de não funcionar em um cronograma.A unit of non-work in a schedule.
MétodosMethods
MétodoMethod | Tipo de retornoReturn Type | DescriçãoDescription |
---|---|---|
ListList | coleção timeOfftimeOff collection | Obtenha a lista de objetos timeOff neste cronograma.Get the list of timeOff objects in this schedule. |
CreateCreate | timeOfftimeOff | Criar um novo objeto timeOff .Create a new timeOff object. |
GetGet | timeOfftimeOff | Obtenha um objeto timeOff por ID.Get a timeOff object by ID. |
ReplaceReplace | timeOfftimeOff | Substituir um objeto timeOff .Replace a timeOff object. |
DeleteDelete | NenhumNone | Excluir um objeto timeOff da agenda.Delete a timeOff object from the schedule. |
PropriedadesProperties
NomeName | TipoType | DescriçãoDescription |
---|---|---|
idid | string |
ID do timeOff.ID of the timeOff. |
userIduserId | string |
ID do usuário atribuído ao timeOff.ID of the user assigned to the timeOff. Obrigatório.Required. |
sharedTimeOffsharedTimeOff | timeOffItemtimeOffItem | A versão compartilhada desse timeOff que é visível por funcionários e gerentes.The shared version of this timeOff that is viewable by both employees and managers. Obrigatório.Required. |
draftTimeOffdraftTimeOff | timeOffItemtimeOffItem | A versão de rascunho desse timeOff que é visível por gerentes.The draft version of this timeOff that is viewable by managers. Obrigatório.Required. |
createdDateTimecreatedDateTime | DateTimeOffset |
O carimbo de data/hora em que este timeOff foi criado pela primeira vez.The time stamp at which this timeOff was first created. O tipo Timestamp representa informações de data e hora usando o formato ISO 8601 e está sempre no horário UTC.The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. Por exemplo, meia-noite em UTC no dia 1º de janeiro de 2014 teria esta aparência: '2014-01-01T00:00:00Z'.For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. |
lastModifiedDateTimelastModifiedDateTime | DateTimeOffset |
O carimbo de data/hora em que este timeOff foi atualizado pela última vez.The time stamp at which this timeOff was last updated. O tipo Timestamp representa informações de data e hora usando o formato ISO 8601 e está sempre no horário UTC.The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. Por exemplo, meia-noite em UTC no dia 1º de janeiro de 2014 teria esta aparência: '2014-01-01T00:00:00Z'.For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. |
lastModifiedBylastModifiedBy | identitySetidentitySet | A identidade que atualizou pela última vez este timeOff.The identity that last updated this timeOff. |
Representação JSONJSON representation
Veja a seguir uma representação JSON do recurso.The following is a JSON representation of the resource.
{
"userId": "string (identifier)",
"createdDateTime": "String (timestamp)",
"lastModifiedDateTime": "String (timestamp)",
"lastModifiedBy": {"@odata.type":"microsoft.graph.identitySet"},
"sharedTimeOff": {"@odata.type":"microsoft.graph.timeOffItem"},
"draftTimeOff": {"@odata.type":"microsoft.graph.timeOffItem"}
}