tipo de recurso timeOffReasontimeOffReason resource type
Namespace: microsoft.graphNamespace: microsoft.graph
Representa uma razão válida para uma instância do timeOff em um cronograma.Represents a valid reason to for a timeOff instance in a schedule.
MétodosMethods
MétodoMethod | Tipo de retornoReturn Type | DescriçãoDescription |
---|---|---|
ListList | coleção timeOffReasontimeOffReason collection | Obtenha a lista de timeOffReason em um cronograma.Get the list of timeOffReason in a schedule. |
CreateCreate | timeOffReasontimeOffReason | Criar um novo timeOffReason.Create a new timeOffReason. |
GetGet | timeOffReasontimeOffReason | Obtenha um timeOffReason por ID.Get a timeOffReason by ID. |
ReplaceReplace | timeOffReasontimeOffReason | Substitua um timeOffReason.Replace a timeOffReason. |
DeleteDelete | NenhumNone | Marcar um timeOffReason como inativo.Mark a timeOffReason as inactive. |
PropriedadesProperties
NomeName | TipoType | DescriçãoDescription |
---|---|---|
idid | string |
A ID da tarefa timeOffReason .ID of the timeOffReason . |
Nome para exibiçãodisplayName | string |
O nome do timeOffReason.The name of the timeOffReason. Obrigatório.Required. |
icontypeiconType | timeOffReasonIconType |
Tipos de ícone suportados: nenhum; automóvel dos com plano firstAid; Doutor Não funciona; medição juryDuty; Globe copo telefone Weather abrangência piggyBank; cachorro torta trafficCone; pessoal ensolarado.Supported icon types: none; car; calendar; running; plane; firstAid; doctor; notWorking; clock; juryDuty; globe; cup; phone; weather; umbrella; piggyBank; dog; cake; trafficCone; pin; sunny. Obrigatório.Required. |
isActiveisActive | Boolean |
Indica se o timeOffReason pode ser usado ao criar novas entidades ou atualizar as existentes.Indicates whether the timeOffReason can be used when creating new entities or updating existing ones. Obrigatório.Required. |
createdDateTimecreatedDateTime | DateTimeOffset |
O carimbo de data/hora em que este timeOffReason foi criado pela primeira vez.The time stamp on which this timeOffReason 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 timeOffReason foi atualizado pela última vez.The time stamp on which this timeOffReason 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 timeOffReason.The identity that last updated this timeOffReason. |
Representação JSONJSON representation
Veja a seguir uma representação JSON do recurso.The following is a JSON representation of the resource.
{
"id": "String",
"createdDateTime": "String (timestamp)",
"lastModifiedDateTime": "String (timestamp)",
"displayName": "String",
"iconType": "String",
"isActive": true,
"lastModifiedBy": { "@odata.type":"microsoft.graph.identitySet"}
}