Create transportation schedules
post
/fscmRestApi/resources/11.13.18.05/transportationSchedules
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.
-
Upsert-Mode: string
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
CarrierId: integer
(int64)
Value that uniquely identifies the carrier.
-
DFF: array
DFF
-
EnabledFlag: boolean
Title:
StatusMaximum Length:1Default Value:falseContains one of the following values: true or false. If true, then the transportation schedule is enabled. If false, then the transportation schedule isn't enabled. This attribute doesn't have a default value. -
LocationId: integer
(int64)
Unique identifier of the location.
-
OrganizationId: integer
(int64)
Value that uniquely identifies the inventory organization.
-
PartyId: integer
(int64)
Unique identifier of the organization or person.
-
PartySiteId: integer
(int64)
Unique identifier of the party site.
-
ScheduleAssignmentCode: string
Maximum Length:
100Abbreviation that identifies the transportation schedule assignment to a trading partner. -
ScheduleId: integer
(int64)
Unique identifier of the schedule.
-
ScheduleUsageCode(required): string
Title:
Schedule UsageMaximum Length:10Abbreviation that indicates usage type of the transportation schedule assignment. A list of accepted values is defined in the lookup type WSH_SCHEDULE_USAGE. -
ScheduleUsageName: string
Maximum Length:
255Indicates usage type of the transportation schedule assignment. A list of accepted values is defined in the lookup type WSH_SCHEDULE_USAGE. -
SiteSchedules: array
Site Schedules
Title:
Site SchedulesSite schedules are valid shipping and receiving days and hours of the trading partner's sites. -
TradingPartnerTypeCode(required): string
Title:
Trading Partner TypeMaximum Length:20Abbreviation that identifies the trading partner type. A list of accepted values is defined in the lookup type WSH_TRADING_PARTNER_TYPE. -
TransportationScheduleAssignmentId: integer
(int64)
Unique identifier of the transportation schedule assignment to a trading partner.
Nested Schema : Site Schedules
Type:
arrayTitle:
Site SchedulesSite schedules are valid shipping and receiving days and hours of the trading partner's sites.
Show Source
Nested Schema : transportationSchedules-DFF-item-post-request
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
CalendarAssignmentId: integer
(int64)
Nested Schema : schema
Type:
Show Source
object-
CarrierId: integer
(int64)
Value that uniquely identifies the carrier.
-
DFF: array
DFF
-
EnabledFlag: boolean
Title:
StatusMaximum Length:1Default Value:falseContains one of the following values: true or false. If true, then the transportation schedule is enabled. If false, then the transportation schedule isn't enabled. This attribute doesn't have a default value. -
LocationId: integer
(int64)
Unique identifier of the location.
-
OrganizationId: integer
(int64)
Value that uniquely identifies the inventory organization.
-
PartyId: integer
(int64)
Unique identifier of the organization or person.
-
PartySiteId: integer
(int64)
Unique identifier of the party site.
-
ScheduleAssignmentCode: string
Maximum Length:
100Abbreviation that identifies the transportation schedule assignment to a trading partner site. -
ScheduleId: integer
(int64)
Unique identifier of the schedule.
-
ScheduleUsageCode(required): string
Title:
Schedule UsageMaximum Length:10Abbreviation that indicates usage type of the transportation schedule assignment. A list of accepted values is defined in the lookup type WSH_SCHEDULE_USAGE. -
TradingPartnerTypeCode(required): string
Title:
Trading Partner TypeMaximum Length:20Abbreviation that identifies the trading partner type. A list of accepted values is defined in the lookup type WSH_TRADING_PARTNER_TYPE. -
TransportationScheduleAssignmentId: integer
(int64)
Unique identifier of the transportation schedule assignment to a trading partner site.
Nested Schema : schema
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
CalendarAssignmentId: integer
(int64)
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 : transportationSchedules-item-response
Type:
Show Source
object-
CarrierId: integer
(int64)
Value that uniquely identifies the carrier.
-
CarrierName: string
Title:
NameRead Only:trueMaximum Length:360Name of the carrier. -
DFF: array
DFF
-
EnabledFlag: boolean
Title:
StatusMaximum Length:1Default Value:falseContains one of the following values: true or false. If true, then the transportation schedule is enabled. If false, then the transportation schedule isn't enabled. This attribute doesn't have a default value. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LocationId: integer
(int64)
Unique identifier of the location.
-
OrganizationCode: string
Read Only:
trueMaximum Length:18Abbreviation that identifies the inventory organization. -
OrganizationId: integer
(int64)
Value that uniquely identifies the inventory organization.
-
OrganizationName: string
Read Only:
trueMaximum Length:240Name of the inventory organization. -
PartyId: integer
(int64)
Unique identifier of the organization or person.
-
PartyName: string
Title:
NameRead Only:trueMaximum Length:360Name of the organization or person. -
PartyNumber: string
Title:
Registry IDRead Only:trueMaximum Length:30Unique alternate identifier for the organization or person party. -
PartySiteId: integer
(int64)
Unique identifier of the party site.
-
ScheduleAssignmentCode: string
Maximum Length:
100Abbreviation that identifies the transportation schedule assignment to a trading partner. -
ScheduleId: integer
(int64)
Unique identifier of the schedule.
-
ScheduleName: string
Title:
NameRead Only:trueMaximum Length:240Name of the schedule. -
ScheduleUsageCode: string
Title:
Schedule UsageMaximum Length:10Abbreviation that indicates usage type of the transportation schedule assignment. A list of accepted values is defined in the lookup type WSH_SCHEDULE_USAGE. -
ScheduleUsageName: string
Maximum Length:
255Indicates usage type of the transportation schedule assignment. A list of accepted values is defined in the lookup type WSH_SCHEDULE_USAGE. -
SiteSchedules: array
Site Schedules
Title:
Site SchedulesSite schedules are valid shipping and receiving days and hours of the trading partner's sites. -
TradingPartnerName: string
Read Only:
trueMaximum Length:255Name of the trading partner. -
TradingPartnerType: string
Read Only:
trueMaximum Length:80Indicates the trading partner type. A list of accepted values is defined in the lookup type WSH_TRADING_PARTNER_TYPE. -
TradingPartnerTypeCode: string
Title:
Trading Partner TypeMaximum Length:20Abbreviation that identifies the trading partner type. A list of accepted values is defined in the lookup type WSH_TRADING_PARTNER_TYPE. -
TransportationScheduleAssignmentId: integer
(int64)
Unique identifier of the transportation schedule assignment to a trading partner.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Site Schedules
Type:
arrayTitle:
Site SchedulesSite schedules are valid shipping and receiving days and hours of the trading partner's sites.
Show Source
Nested Schema : transportationSchedules-DFF-item-response
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
CalendarAssignmentId: integer
(int64)
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance.
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.
Nested Schema : transportationSchedules-SiteSchedules-item-response
Type:
Show Source
object-
CarrierId: integer
(int64)
Value that uniquely identifies the carrier.
-
DFF: array
DFF
-
EnabledFlag: boolean
Title:
StatusMaximum Length:1Default Value:falseContains one of the following values: true or false. If true, then the transportation schedule is enabled. If false, then the transportation schedule isn't enabled. This attribute doesn't have a default value. -
FormattedAddress: string
Title:
AddressRead Only:trueAddress of the location. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LocationId: integer
(int64)
Unique identifier of the location.
-
OrganizationId: integer
(int64)
Value that uniquely identifies the inventory organization.
-
PartyId: integer
(int64)
Unique identifier of the organization or person.
-
PartySiteId: integer
(int64)
Unique identifier of the party site.
-
PartySiteName: string
Title:
Site NameRead Only:trueMaximum Length:240Name of the party site. -
ScheduleAssignmentCode: string
Maximum Length:
100Abbreviation that identifies the transportation schedule assignment to a trading partner site. -
ScheduleId: integer
(int64)
Unique identifier of the schedule.
-
ScheduleName: string
Title:
NameRead Only:trueMaximum Length:240Name of the schedule. -
ScheduleUsageCode: string
Title:
Schedule UsageMaximum Length:10Abbreviation that indicates usage type of the transportation schedule assignment. A list of accepted values is defined in the lookup type WSH_SCHEDULE_USAGE. -
TradingPartnerSite: string
Read Only:
trueMaximum Length:255Value that identifies the trading partner's location. -
TradingPartnerSiteAddress: string
Read Only:
trueMaximum Length:255Address of the trading partner's location. -
TradingPartnerTypeCode: string
Title:
Trading Partner TypeMaximum Length:20Abbreviation that identifies the trading partner type. A list of accepted values is defined in the lookup type WSH_TRADING_PARTNER_TYPE. -
TransportationScheduleAssignmentId: integer
(int64)
Unique identifier of the transportation schedule assignment to a trading partner site.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : transportationSchedules-SiteSchedules-DFF-item-response
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
CalendarAssignmentId: integer
(int64)
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- DFF
-
Parameters:
- TransportationScheduleAssignmentId:
$request.path.TransportationScheduleAssignmentId
- TransportationScheduleAssignmentId:
- SiteSchedules
-
Parameters:
- TransportationScheduleAssignmentId:
$request.path.TransportationScheduleAssignmentId
Site schedules are valid shipping and receiving days and hours of the trading partner's sites. - TransportationScheduleAssignmentId: