Update a tax period
patch
/fscmRestApi/resources/11.13.18.05/taxDocumentSetups/{TaxDocumentSetupId}/child/taxPeriods/{TaxPeriodId}
Request
Path Parameters
-
TaxDocumentSetupId(required): integer(int64)
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=
-
TaxPeriodId(required): integer(int64)
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
-
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.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
CalendarItemId: integer
(int64)
Unique identifier of the system calendar item.
-
ContactId: integer
(int64)
Unique identifier of the external organization contact.
-
ExternalOrgId: integer
(int64)
Unique identifier for an external organization.
-
ExternalOrgName: string
Title:
External OrganizationsMaximum Length:360Name of the external organization. -
PeriodEndDate: string
(date-time)
Title:
Tax Period End DateThe end date of the tax period. -
PeriodName: string
Title:
Tax Period NameMaximum Length:240Name of the tax period. -
PeriodStartDate: string
(date-time)
Title:
Tax Period Start DateThe start date of the tax period. -
taxPeriodAttributes: array
Tax Period Attributes
Title:
Tax Period AttributesThe financial attributes used to generate a tax document for a tax period. Financial attributes include fees, payments, and credits. -
taxPeriodCriteria: array
Tax Period Criteria
Title:
Tax Period CriteriaThe calculation logic used to generate a tax document for a period. -
TaxPeriodId: integer
(int64)
Unique identifier for a tax period.
Nested Schema : Tax Period Attributes
Type:
arrayTitle:
Tax Period AttributesThe financial attributes used to generate a tax document for a tax period. Financial attributes include fees, payments, and credits.
Show Source
Nested Schema : Tax Period Criteria
Type:
arrayTitle:
Tax Period CriteriaThe calculation logic used to generate a tax document for a period.
Show Source
Nested Schema : schema
Type:
Show Source
object-
Description: string
Maximum Length:
1000Description of the tax period document attribute. -
TaxDocumentAttributeCode: string
Maximum Length:
30Code of the tax document setup. -
TaxDocumentAttributeId: integer
(int64)
Unique identifier of the tax document attribute.
-
Value: string
Maximum Length:
100Indicates the value of the tax period document attribute. This can either be the box number during template creation or can indicate the true or false option of the tax document option attributes.
Nested Schema : taxDocumentSetups-taxPeriods-taxPeriodCriteria-item-patch-request
Type:
Show Source
object-
CriteriaTypeCode: string
Maximum Length:
30Code of the calculation criteria associated with the tax period. -
ValueNumeric: number
Number indicating the tax period attribute being seeded.
-
ValueString: string
Maximum Length:
100Description of the tax period attribute being seeded.
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 : taxDocumentSetups-taxPeriods-item-response
Type:
Show Source
object-
CalendarItemId: integer
(int64)
Unique identifier of the system calendar item.
-
ContactEmail: string
Read Only:
trueMaximum Length:1000Primary email address of the external organization contact. -
ContactId: integer
(int64)
Unique identifier of the external organization contact.
-
ContactName: string
Title:
Contact NameRead Only:trueMaximum Length:450Name of the external organization contact. -
ContactPhone: string
Read Only:
trueMaximum Length:40Phone number of the external organization contact. -
ExternalOrgId: integer
(int64)
Unique identifier for an external organization.
-
ExternalOrgName: string
Title:
External OrganizationsMaximum Length:360Name of the external organization. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time of the last update to the row. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PeriodCode: string
Title:
Tax Period CodeMaximum Length:30Unique, user-defined code for the tax period. -
PeriodEndDate: string
(date-time)
Title:
Tax Period End DateThe end date of the tax period. -
PeriodName: string
Title:
Tax Period NameMaximum Length:240Name of the tax period. -
PeriodStartDate: string
(date-time)
Title:
Tax Period Start DateThe start date of the tax period. -
taxPeriodAttributes: array
Tax Period Attributes
Title:
Tax Period AttributesThe financial attributes used to generate a tax document for a tax period. Financial attributes include fees, payments, and credits. -
taxPeriodCriteria: array
Tax Period Criteria
Title:
Tax Period CriteriaThe calculation logic used to generate a tax document for a period. -
TaxPeriodId: integer
(int64)
Unique identifier for a tax period.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Tax Period Attributes
Type:
arrayTitle:
Tax Period AttributesThe financial attributes used to generate a tax document for a tax period. Financial attributes include fees, payments, and credits.
Show Source
Nested Schema : Tax Period Criteria
Type:
arrayTitle:
Tax Period CriteriaThe calculation logic used to generate a tax document for a period.
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 : taxDocumentSetups-taxPeriods-taxPeriodAttributes-item-response
Type:
Show Source
object-
Description: string
Maximum Length:
1000Description of the tax period document attribute. -
DocumentAttributeTypeCode: string
Read Only:
trueMaximum Length:150Code of the tax document attribute type. -
DocumentAttributeTypeMeaning: string
Read Only:
trueMaximum Length:80Name of the tax document attribute type. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
TaxDocumentAttributeCode: string
Maximum Length:
30Code of the tax document setup. -
TaxDocumentAttributeId: integer
(int64)
Unique identifier of the tax document attribute.
-
TaxDocumentAttributeName: string
Read Only:
trueMaximum Length:150Name of the tax document setup. -
TaxPeriodAttributeId: integer
(int64)
Read Only:
trueUnique identifier of the tax period attribute. -
Value: string
Maximum Length:
100Indicates the value of the tax period document attribute. This can either be the box number during template creation or can indicate the true or false option of the tax document option attributes.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : taxDocumentSetups-taxPeriods-taxPeriodCriteria-item-response
Type:
Show Source
object-
CriteriaTypeCode: string
Maximum Length:
30Code of the calculation criteria associated with the tax period. -
CriteriaTypeMeaning: string
Read Only:
trueMaximum Length:80The name of the criteria type. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
TaxPeriodCriteriaId: integer
(int64)
Read Only:
trueIdentifier of the calculation criteria associated with the tax period. -
ValueNumeric: number
Number indicating the tax period attribute being seeded.
-
ValueString: string
Maximum Length:
100Description of the tax period attribute being seeded.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- externalOrganizationsLOV
-
The following properties are defined on the LOV link relation:
- Source Attribute: ExternalOrgName; Target Attribute: OrganizationName
- Display Attribute: OrganizationName
- taxPeriodAttributes
-
Parameters:
- TaxDocumentSetupId:
$request.path.TaxDocumentSetupId - TaxPeriodId:
$request.path.TaxPeriodId
The financial attributes used to generate a tax document for a tax period. Financial attributes include fees, payments, and credits. - TaxDocumentSetupId:
- taxPeriodCriteria
-
Parameters:
- TaxDocumentSetupId:
$request.path.TaxDocumentSetupId - TaxPeriodId:
$request.path.TaxPeriodId
The calculation logic used to generate a tax document for a period. - TaxDocumentSetupId: