Update a technician's access off day

patch

/crmRestApi/resources/11.13.18.05/serviceTechnicianAccessSchedules/{AccScheduleNumber}/child/offdays/{SchedOffdaysId}

Request

Path Parameters
  • The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
  • The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Title: Active
    Maximum Length: 1
    Default Value: true
    Indicates whether this technician access off days is active.
  • Title: Comments
    Maximum Length: 60
    Comments for the access off day.
  • Title: Day of Week Code
    Maximum Length: 30
    The code that identifies the day of the week for the access off day.
  • Title: Monthly Occurrence Code
    Maximum Length: 30
    The code that identifies the occurrence to calculate date by in a month for the access off day.
  • Title: Name
    Maximum Length: 60
    The label for the off day.
  • Title: Day
    The day of the month on which the field service resource isn't allowed to be on the customer site.
  • Title: Month Code
    Maximum Length: 30
    The digits representing month of the year the field service resource isn't allowed to be on the customer site.
  • Title: Year
    The four digit year the field service resource isn't allowed to be on the customer site.
  • Title: Override Code
    Maximum Length: 30
    The code that identifies the type of override applied to the technician's access off day.
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : serviceTechnicianAccessSchedules-offdays-item-response
Type: object
Show Source
  • Title: Access Schedule ID
    The unique identifier of the access schedule.
  • Title: Schedule Name
    Read Only: true
    Maximum Length: 50
    The name of the access schedule.
  • Title: Schedule Number
    Read Only: true
    Maximum Length: 30
    The alternate unique identifier of the access schedule.
  • Title: Active
    Maximum Length: 1
    Default Value: true
    Indicates whether this technician access off days is active.
  • Title: Comments
    Maximum Length: 60
    Comments for the access off day.
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    The user who created the technician's access off day.
  • Title: Creation Date
    Read Only: true
    The date and time when the technician's access off day was created.
  • Title: Day of Week Code
    Maximum Length: 30
    The code that identifies the day of the week for the access off day.
  • Title: Day of Week
    Read Only: true
    Maximum Length: 255
    The day of the week for the technician's access off day.
  • Title: Monthly Occurrence Code
    Maximum Length: 30
    The code that identifies the occurrence to calculate date by in a month for the access off day.
  • Title: Monthly Occurrence
    Read Only: true
    Maximum Length: 255
    The occurrence to calculate date of a month for the access off day.
  • Title: Name
    Maximum Length: 60
    The label for the off day.
  • Title: Last Updated Date
    Read Only: true
    The date and time when the technician's access off day was last updated.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    The user who last updated the technician's access off day.
  • Links
  • Title: Date
    Read Only: true
    The calculated off date.
  • Title: Day
    The day of the month on which the field service resource isn't allowed to be on the customer site.
  • Title: Month Code
    Maximum Length: 30
    The digits representing month of the year the field service resource isn't allowed to be on the customer site.
  • Title: Month
    Read Only: true
    Maximum Length: 255
    The name of the month the field service resource isn't allowed to be on the customer site.
  • Title: Year
    The four digit year the field service resource isn't allowed to be on the customer site.
  • Title: Override Code
    Maximum Length: 30
    The code that identifies the type of override applied to the technician's access off day.
  • Title: Override
    Read Only: true
    Maximum Length: 255
    The type of override applied to the technician's access off day.
  • Title: Service Profile ID
    The unique identifier for the service profile that overrides the technician's access off day.
  • Title: Service Profile
    Read Only: true
    Maximum Length: 400
    The name of the service profile that overrides the technician's access off day.
  • Title: Service Profile Number
    Read Only: true
    Maximum Length: 30
    The public unique identifier of the service profile that overrides the technician's access off day.
  • Title: Work Order ID
    The unique identifier for the work order that overrides the technician's access off day.
  • Title: Work Order Number
    Read Only: true
    Maximum Length: 30
    The public unique identifier of the work order that overrides the technician's access off day.
  • Title: Schedule off Day ID
    The unique identifier of the technician's access off day.
Back to Top