Create field service technician subinventories
post
/fscmRestApi/resources/11.13.18.05/technicianSubinventories
Request
Header Parameters
-
Metadata-Context: string
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".
-
REST-Framework-Version: string
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
- application/json
Root Schema : schema
Type:
Show Source
object-
AllowPartsOrdersFlag: boolean
Maximum Length:
1Contains one of the following values: null, true, or false. If null or true, then the field service technician can create transfer orders. If false, then the field service technician can't create transfer orders. The default value for this attribute is true. -
DefaultFlag: boolean
Maximum Length:
1Contains one of the following values: true or false. If true, then this subinventory is the default subinventory. If false, then this subinventory is not the default. This attribute does not have a default value. -
EnabledFlag: boolean
Maximum Length:
1Contains one of the following values: true or false. If true, then the subinventory is enabled. If false, then the subinventory is disabled. This attribute does not have a default value. -
OrganizationCode: string
Maximum Length:
18Abbreviation that identifies the organization. -
OrganizationId: integer
(int64)
Value that uniquely identifies the organization.
-
OrganizationName: string
Maximum Length:
240Name of the organization. -
PartyId: integer
(int64)
Value that uniquely identifies the technician.
-
PartyName: string
Maximum Length:
360Name of the technician. -
StockLocationId: integer
(int64)
Value that uniquely identifies the combination of organization and subinventory.
-
StockLocationName: string
Maximum Length:
29Name used for the combination of organization and subinventory. -
Subinventory: string
Maximum Length:
10Value that identifies the subinventory. -
TechSubinventoryId: integer
(int64)
Value that uniquely identifies the technician subinventory.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
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".
-
REST-Framework-Version:
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.
Root Schema : technicianSubinventories-item-response
Type:
Show Source
object-
AllowPartsOrdersFlag: boolean
Maximum Length:
1Contains one of the following values: null, true, or false. If null or true, then the field service technician can create transfer orders. If false, then the field service technician can't create transfer orders. The default value for this attribute is true. -
Condition: string
Read Only:
trueMaximum Length:80Condition of the subinventory. Valid values are Usable and Defective. -
ConditionCode: string
Read Only:
trueMaximum Length:10Abbreviation that identifies the condition. -
DefaultFlag: boolean
Maximum Length:
1Contains one of the following values: true or false. If true, then this subinventory is the default subinventory. If false, then this subinventory is not the default. This attribute does not have a default value. -
EnabledFlag: boolean
Maximum Length:
1Contains one of the following values: true or false. If true, then the subinventory is enabled. If false, then the subinventory is disabled. This attribute does not have a default value. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LocationType: string
Read Only:
trueMaximum Length:80Type of the subinventory location being assigned to the field service technician. Valid values are Manned, Unmanned, Site Dedicated, and Technician. -
LocationTypeCode: string
Read Only:
trueMaximum Length:10Abbreviation that identifies the location type. -
OrganizationCode: string
Maximum Length:
18Abbreviation that identifies the organization. -
OrganizationId: integer
(int64)
Value that uniquely identifies the organization.
-
OrganizationName: string
Maximum Length:
240Name of the organization. -
PartyAddress: string
Read Only:
trueMaximum Length:4000Value that identifies the location of an internal address. This attribute is used to search for technician subinventories having this address. -
PartyId: integer
(int64)
Value that uniquely identifies the technician.
-
PartyName: string
Maximum Length:
360Name of the technician. -
PartyNumber: string
Read Only:
trueMaximum Length:30Number that identifies the technician. -
StockLocationId: integer
(int64)
Value that uniquely identifies the combination of organization and subinventory.
-
StockLocationName: string
Maximum Length:
29Name used for the combination of organization and subinventory. -
Subinventory: string
Maximum Length:
10Value that identifies the subinventory. -
TechSubinventoryId: integer
(int64)
Value that uniquely identifies the technician subinventory.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.