Update a work order activity type

patch

/crmRestApi/resources/11.13.18.05/workOrderActivityTypes/{WoActivityTypeNumber}

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=
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: Description
    Maximum Length: 240
    The description of the work order activity type.
  • Title: Display Order
    The ordering sequence number for the work order activity type.
  • Title: Enabled
    Maximum Length: 1
    Default Value: false
    Indicates whether the work order activity type is enabled.
  • Title: Manual Duration
    Indicates the estimated duration time (in minutes) that it's expected to complete the work for this work order activity type.
  • Title: Activity Type Code
    Maximum Length: 128
    Indicates the Field Service activity type code which identifies the activity type to use in Field Service for this work order activity type.
  • Title: Work Order Type
    Maximum Length: 80
    The display value that identifies the work order activity type.
  • Work Order Activity Type Translations
    Title: Work Order Activity Type Translations
    The work order activity type translations resource is used to view, create, update and delete the translatable values for the work order activity type resource.
Nested Schema : Work Order Activity Type Translations
Type: array
Title: Work Order Activity Type Translations
The work order activity type translations resource is used to view, create, update and delete the translatable values for the work order activity type resource.
Show Source
Nested Schema : workOrderActivityTypes-translations-item-patch-request
Type: object
Show Source
  • Title: Description
    Maximum Length: 240
    The description of the translatable work order activity type.
  • Title: Language
    Maximum Length: 4
    The language to which the work order activity type is translated.
  • Title: Activity Type
    Maximum Length: 80
    The translated display value that identifies the work order activity type.
  • Title: Source Language
    Maximum Length: 4
    The source language from which the work order activity type is translated.
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 : workOrderActivityTypes-item-response
Type: object
Show Source
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    The user who created the work order activity type.
  • Title: Creation Date
    Read Only: true
    The date and time of creating the work order activity type.
  • Title: Description
    Maximum Length: 240
    The description of the work order activity type.
  • Title: Display Order
    The ordering sequence number for the work order activity type.
  • Title: Enabled
    Maximum Length: 1
    Default Value: false
    Indicates whether the work order activity type is enabled.
  • Title: Manual Duration
    Indicates the estimated duration time (in minutes) that it's expected to complete the work for this work order activity type.
  • Title: Activity Type Code
    Maximum Length: 128
    Indicates the Field Service activity type code which identifies the activity type to use in Field Service for this work order activity type.
  • Title: Last Updated Date
    Read Only: true
    Indicates the date and time of last update of the work order activity type.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    The source who last updated the work order activity type.
  • Links
  • Title: Work Order Type
    Maximum Length: 80
    The display value that identifies the work order activity type.
  • Work Order Activity Type Translations
    Title: Work Order Activity Type Translations
    The work order activity type translations resource is used to view, create, update and delete the translatable values for the work order activity type resource.
  • Title: Type of Work Order
    Read Only: true
    Maximum Length: 80
    The type of the service work order.
  • Title: Work Order Type Code
    Maximum Length: 30
    The work order activity type code.
  • Title: Work Order Activity Type ID
    Read Only: true
    The unique identifier of the work order activity type.
  • Title: Activity Type Number
    Maximum Length: 30
    The alternate unique identifier of the work order activity type.
  • Title: Type of Work Order Code
    Maximum Length: 30
    Indicates the type of service work order this work order activity type is associated with.
Nested Schema : Work Order Activity Type Translations
Type: array
Title: Work Order Activity Type Translations
The work order activity type translations resource is used to view, create, update and delete the translatable values for the work order activity type resource.
Show Source
Nested Schema : workOrderActivityTypes-translations-item-response
Type: object
Show Source
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    The user who created the translatable work order activity type.
  • Title: Creation Date
    Read Only: true
    The date and time of creating the translatable work order activity type.
  • Title: Description
    Maximum Length: 240
    The description of the translatable work order activity type.
  • Title: Language
    Maximum Length: 4
    The language to which the work order activity type is translated.
  • Title: Language Code
    Read Only: true
    Maximum Length: 4
    The language code in which the work order activity type is translated.
  • Title: Language Name
    Read Only: true
    Maximum Length: 255
    The display language to which the work order activity type is translated.
  • Title: Last Updated Date
    Read Only: true
    Indicates the date and time of last update of the translatable work order activity type.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    The source who last updated the translatable work order activity type.
  • Links
  • Title: Activity Type
    Maximum Length: 80
    The translated display value that identifies the work order activity type.
  • Title: Source Language
    Maximum Length: 4
    The source language from which the work order activity type is translated.
  • Title: Language Code
    Read Only: true
    Maximum Length: 4
    The source language code from which the work order activity type is translated.
  • Title: Language Name
    Read Only: true
    Maximum Length: 255
    The source display language from which the work order activity type is translated.
  • Title: Work Order Activity Type ID
    Read Only: true
    The unique identifier of the translated work order activity type. This is a foreign key to the work order activity type table.
Back to Top