Update an agency

patch

/fscmRestApi/resources/11.13.18.05/publicSectorAgencies/{AgencyId}

Request

Path Parameters
  • The unique identifier of the agency. Value is mandatory and is defined by the user during a create action. The identifier of the first agency defined must be 1.
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
  • Agency Addresses
    Title: Agency Addresses
    The agency addresses resource is used to view, create, or modify an agency address. An address represents the location information of an agency. There can be multiple addresses for an agency, each with its own start and end date. One address is identified as primary.
  • Agency Languages
    Title: Agency Languages
    The agency languages resource is used to view, create, or modify the languages the agency supports.
  • Title: Name
    Maximum Length: 100
    The name of the agency. Value is mandatory and is defined by the user during a create action.
  • Agency Options
    Title: Agency Options
    The agency options resource is used to view and enable or disable product offerings as well as any optional features for an agency.
  • Maximum Length: 1
    Default Value: A
    Indicates whether the agency defines its own reference data or shares a common set of data. The only accepted value is A (Agency) at this time. Value is mandatory and system-assigned.
  • Title: Country
    Maximum Length: 3
    The country in which the agency is located. Value is mandatory and is defined by the user during a create action. A list of accepted values is defined in PSC_COM_COUNTRY_B.
  • Title: Currency
    Maximum Length: 3
    The base currency in which the agency operates. Value is mandatory and is defined by the user during a create action. A list of accepted values is defined in PSC_COM_CURRENCY_B.
  • Title: Date Format
    Maximum Length: 30
    Default Value: M/d/yy
    Date format for the agency. Value is mandatory and the default is 'M/d/yy' like 1/31/99.
  • Title: Default Inspection Date Filter
    Maximum Length: 30
    The date range used by default to filter inspections. The default value is Today.
  • Title: Default Inspection Date Type Filter
    Maximum Length: 30
    The type of date used by default to filter inspections. The default value is Requested.
  • Title: Default Plan Review Date Filter
    Maximum Length: 30
    Default Value: ORA_TDY
    The date range used by default to filter plan reviews. The default value is Today.
  • Title: Default Plan Review Date Type Filter
    Maximum Length: 30
    Default Value: ORA_CYC_DUE
    The type of date used by default to filter plan reviews. The default value is Cycle Due.
  • Title: Default Search Filter
    Maximum Length: 30
    The search filter used by default.
  • Title: Default Search Type
    Maximum Length: 30
    The type of search used by default.
  • Title: Description
    Maximum Length: 300
    The long description of the agency. Value is mandatory and is defined by the user when the agency is created.
  • Title: Create Subledger Accounting
    Maximum Length: 1
    Default Value: N
    Indicates whether Financials Cloud Subledger Accounting is used to generate accounting for the agency.
  • Title: Error Notification Email
    Maximum Length: 256
    Email address to notify in the event of an error.
  • Title: Notify on Error
    Maximum Length: 1
    Default Value: false
    Indicates whether the error notification is enabled or not.
  • Maximum Length: 1
    Indicates whether or not the Owners tab of the Parcel page should be displayed to public users. Option is selected (hide) by default.
  • Title: Inspection Count Limit
    Default Value: 20
    The limit of the total count of assigned inspections across both permits and business licenses.
  • Title: Financials Cloud Ledger
    The Fusion ledger ID that contains accounting entries for the agency. Value is used and mandatory only if the Create Subledger Accounting option is selected.
  • Title: Automated Retry Limit
    Number of attempts the system will automatically retry for an action.
  • Title: Maximum Copies Allowed
    The maximum copies allowed for the copy application.
  • Title: Number Format
    Maximum Length: 30
    Default Value: #,##0.###
    Number format for the agency. Value is mandatory and the default is '#,##0.###', like -1,234.567.
  • Title: Oracle Policy Automation ID
    Maximum Length: 150
    The unique identifier of the Oracle Policy Automation policy used by the agency. Value is entered by the user when the agency is created.
  • Title: Parcel Owner Format
    Maximum Length: 3
    Default Value: 1
    Indicates the preferred format for displaying parcel owner name. Accepted values are 1 (Use one field) and 2 (Use two fields) . The default value is '1'.
  • Title: Exclude Saturday and Sunday
    Maximum Length: 1
    Indicates whether Saturday and Sunday will be included in the plan review due date time rule calculations. Default value is N.
  • Title: Business Number Rule
    Maximum Length: 20
    Autonumber rule used for generating a unique business entity ID for a business.
  • Title: License Number Rule
    Maximum Length: 20
    Autonumber rule used for generating a unique license ID for a business.
  • Title: Location Number Rule
    Maximum Length: 20
    Autonumber rule used for generating a unique business location ID for a business.
  • Title: Insurance Policy Number Rule
    Maximum Length: 20
    Autonumber rule used for generating a unique insurance policy ID for a business.
  • Title: Time Format
    Maximum Length: 30
    Default Value: h:mm a
    Time format for the agency. Value is mandatory and the default is 'h:mm a' like 1:30 PM.
  • Title: Time Zone
    Maximum Length: 64
    The time zone the agency is located in. Value is mandatory and is defined by the user during a create action.
Nested Schema : Agency Addresses
Type: array
Title: Agency Addresses
The agency addresses resource is used to view, create, or modify an agency address. An address represents the location information of an agency. There can be multiple addresses for an agency, each with its own start and end date. One address is identified as primary.
Show Source
Nested Schema : Agency Languages
Type: array
Title: Agency Languages
The agency languages resource is used to view, create, or modify the languages the agency supports.
Show Source
Nested Schema : Agency Options
Type: array
Title: Agency Options
The agency options resource is used to view and enable or disable product offerings as well as any optional features for an agency.
Show Source
Nested Schema : schema
Type: object
Show Source
  • Title: Address
    Maximum Length: 240
    The first address line of the agency address.
  • Title: Address
    Maximum Length: 240
    The second address line of the agency address.
  • Title: Address
    Maximum Length: 240
    The third address line of the agency address.
  • Title: Address
    Maximum Length: 240
    The fourth address line of the agency address.
  • Title: Address ID
    Maximum Length: 32
    The unique identifier of the address. Value is mandatory and is entered by the user when the address is created.
  • Title: Agency ID
    The unique identifier of the agency. Value is mandatory and is defined by the user during a create action. The identifier of the first agency defined must be 1.
  • Title: City
    Maximum Length: 60
    The name of the city as part of the agency address.
  • Title: Country
    Maximum Length: 3
    The name of the country as part of the agency address.
  • Title: County
    Maximum Length: 60
    The name of the county as part of the agency address.
  • Title: Postal Plus 4 Code
    Maximum Length: 10
    The postal code plus four as part of the agency address.
  • Title: Primary
    Maximum Length: 1
    Indicates whether the address is the primary address of the agency. A value of Y means the address is primary. Default value is N.
  • Title: Province
    Maximum Length: 60
    The name of the province as part of the agency address.
  • Title: State
    Maximum Length: 60
    The name of the state as part of the agency address.
  • Title: From Date
    The first day that the address may be used.
  • Title: To Date
    The last day that the address may be used.
  • Title: Postal Code
    Maximum Length: 60
    The postal code as part of the agency address.
Nested Schema : publicSectorAgencies-AgencyLang-item-patch-request
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
  • Title: Enabled
    Maximum Length: 1
    Indicates whether the offering is enabled for the agency. A value of Y means the offering is enabled. The default value is Y for yes.
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 : publicSectorAgencies-item-response
Type: object
Show Source
  • Read Only: true
    Indicates whether accounting is enabled for the agency.
  • Agency Addresses
    Title: Agency Addresses
    The agency addresses resource is used to view, create, or modify an agency address. An address represents the location information of an agency. There can be multiple addresses for an agency, each with its own start and end date. One address is identified as primary.
  • Title: Agency ID
    The unique identifier of the agency. Value is mandatory and is defined by the user during a create action. The identifier of the first agency defined must be 1.
  • Agency Languages
    Title: Agency Languages
    The agency languages resource is used to view, create, or modify the languages the agency supports.
  • Title: Name
    Maximum Length: 100
    The name of the agency. Value is mandatory and is defined by the user during a create action.
  • Agency Options
    Title: Agency Options
    The agency options resource is used to view and enable or disable product offerings as well as any optional features for an agency.
  • Maximum Length: 1
    Default Value: A
    Indicates whether the agency defines its own reference data or shares a common set of data. The only accepted value is A (Agency) at this time. Value is mandatory and system-assigned.
  • Title: Country
    Maximum Length: 3
    The country in which the agency is located. Value is mandatory and is defined by the user during a create action. A list of accepted values is defined in PSC_COM_COUNTRY_B.
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    The user who created the agency.
  • Title: Creation Date
    Read Only: true
    The date and time when the agency was created.
  • Title: Currency
    Maximum Length: 3
    The base currency in which the agency operates. Value is mandatory and is defined by the user during a create action. A list of accepted values is defined in PSC_COM_CURRENCY_B.
  • Title: Date Format
    Maximum Length: 30
    Default Value: M/d/yy
    Date format for the agency. Value is mandatory and the default is 'M/d/yy' like 1/31/99.
  • Title: Default Inspection Date Filter
    Maximum Length: 30
    The date range used by default to filter inspections. The default value is Today.
  • Title: Default Inspection Date Type Filter
    Maximum Length: 30
    The type of date used by default to filter inspections. The default value is Requested.
  • Title: Default Plan Review Date Filter
    Maximum Length: 30
    Default Value: ORA_TDY
    The date range used by default to filter plan reviews. The default value is Today.
  • Title: Default Plan Review Date Type Filter
    Maximum Length: 30
    Default Value: ORA_CYC_DUE
    The type of date used by default to filter plan reviews. The default value is Cycle Due.
  • Title: Default Search Filter
    Maximum Length: 30
    The search filter used by default.
  • Title: Default Search Type
    Maximum Length: 30
    The type of search used by default.
  • Title: Description
    Maximum Length: 300
    The long description of the agency. Value is mandatory and is defined by the user when the agency is created.
  • Title: Create Subledger Accounting
    Maximum Length: 1
    Default Value: N
    Indicates whether Financials Cloud Subledger Accounting is used to generate accounting for the agency.
  • Title: Error Notification Email
    Maximum Length: 256
    Email address to notify in the event of an error.
  • Title: Notify on Error
    Maximum Length: 1
    Default Value: false
    Indicates whether the error notification is enabled or not.
  • Read Only: true
    Indicates whether accounting is to be created through Subledger Accounting for the agency.
  • Maximum Length: 1
    Indicates whether or not the Owners tab of the Parcel page should be displayed to public users. Option is selected (hide) by default.
  • Title: Inspection Count Limit
    Default Value: 20
    The limit of the total count of assigned inspections across both permits and business licenses.
  • Title: Last Updated Date
    Read Only: true
    The last date and time when the agency was updated.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    The user who last updated the agency.
  • Title: Financials Cloud Ledger
    The Fusion ledger ID that contains accounting entries for the agency. Value is used and mandatory only if the Create Subledger Accounting option is selected.
  • Read Only: true
    Maximum Length: 30
    The name of the Fusion ledger.
  • Links
  • Title: Automated Retry Limit
    Number of attempts the system will automatically retry for an action.
  • Title: Maximum Copies Allowed
    The maximum copies allowed for the copy application.
  • Title: Number Format
    Maximum Length: 30
    Default Value: #,##0.###
    Number format for the agency. Value is mandatory and the default is '#,##0.###', like -1,234.567.
  • Title: Oracle Policy Automation ID
    Maximum Length: 150
    The unique identifier of the Oracle Policy Automation policy used by the agency. Value is entered by the user when the agency is created.
  • Title: Parcel Owner Format
    Maximum Length: 3
    Default Value: 1
    Indicates the preferred format for displaying parcel owner name. Accepted values are 1 (Use one field) and 2 (Use two fields) . The default value is '1'.
  • Title: Exclude Saturday and Sunday
    Maximum Length: 1
    Indicates whether Saturday and Sunday will be included in the plan review due date time rule calculations. Default value is N.
  • Read Only: true
    Indicates whether accounting is to be created within Oracle Permitting and Licensing for the agency.
  • Title: Business Number Rule
    Maximum Length: 20
    Autonumber rule used for generating a unique business entity ID for a business.
  • Title: License Number Rule
    Maximum Length: 20
    Autonumber rule used for generating a unique license ID for a business.
  • Title: Location Number Rule
    Maximum Length: 20
    Autonumber rule used for generating a unique business location ID for a business.
  • Title: Insurance Policy Number Rule
    Maximum Length: 20
    Autonumber rule used for generating a unique insurance policy ID for a business.
  • Title: Time Format
    Maximum Length: 30
    Default Value: h:mm a
    Time format for the agency. Value is mandatory and the default is 'h:mm a' like 1:30 PM.
  • Title: Time Zone
    Maximum Length: 64
    The time zone the agency is located in. Value is mandatory and is defined by the user during a create action.
Nested Schema : Agency Addresses
Type: array
Title: Agency Addresses
The agency addresses resource is used to view, create, or modify an agency address. An address represents the location information of an agency. There can be multiple addresses for an agency, each with its own start and end date. One address is identified as primary.
Show Source
Nested Schema : Agency Languages
Type: array
Title: Agency Languages
The agency languages resource is used to view, create, or modify the languages the agency supports.
Show Source
Nested Schema : Agency Options
Type: array
Title: Agency Options
The agency options resource is used to view and enable or disable product offerings as well as any optional features for an agency.
Show Source
Nested Schema : publicSectorAgencies-AgencyAddress-item-response
Type: object
Show Source
  • Title: Address
    Maximum Length: 240
    The first address line of the agency address.
  • Title: Address
    Maximum Length: 240
    The second address line of the agency address.
  • Title: Address
    Maximum Length: 240
    The third address line of the agency address.
  • Title: Address
    Maximum Length: 240
    The fourth address line of the agency address.
  • Title: Address ID
    Maximum Length: 32
    The unique identifier of the address. Value is mandatory and is entered by the user when the address is created.
  • Title: Address ID
    The unique identifier of the address. Value is mandatory and is system-generated when the address is created. ID is not displayed to the user.
  • Title: Agency ID
    The unique identifier of the agency. Value is mandatory and is defined by the user during a create action. The identifier of the first agency defined must be 1.
  • Title: City
    Maximum Length: 60
    The name of the city as part of the agency address.
  • Title: Country
    Maximum Length: 3
    The name of the country as part of the agency address.
  • Title: County
    Maximum Length: 60
    The name of the county as part of the agency address.
  • Read Only: true
    Maximum Length: 64
    The user who created the agency address.
  • Read Only: true
    The date and time when the agency address was created.
  • Read Only: true
    The last date and time when the agency address was updated.
  • Read Only: true
    Maximum Length: 64
    The user who last updated the agency address.
  • Links
  • Title: Postal Plus 4 Code
    Maximum Length: 10
    The postal code plus four as part of the agency address.
  • Title: Primary
    Maximum Length: 1
    Indicates whether the address is the primary address of the agency. A value of Y means the address is primary. Default value is N.
  • Title: Province
    Maximum Length: 60
    The name of the province as part of the agency address.
  • Title: State
    Maximum Length: 60
    The name of the state as part of the agency address.
  • Title: From Date
    The first day that the address may be used.
  • Title: To Date
    The last day that the address may be used.
  • Title: Postal Code
    Maximum Length: 60
    The postal code as part of the agency address.
Nested Schema : publicSectorAgencies-AgencyLang-item-response
Type: object
Show Source
Nested Schema : publicSectorAgencies-AgencyOptions-item-response
Type: object
Show Source
  • Title: Agency ID
    The unique identifier of the agency. Value is mandatory and is defined by the user during a create action. The identifier of the first agency defined must be 1.
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    The user who created the agency option.
  • Title: Creation Date
    Read Only: true
    The date and time when the agency option was created.
  • Read Only: true
    Maximum Length: 254
    A transient value calculated at runtime that fetches the jet path of the offering options page if it exists.
  • Title: Enabled
    Maximum Length: 1
    Indicates whether the offering is enabled for the agency. A value of Y means the offering is enabled. The default value is Y for yes.
  • Title: Last Updated Date
    Read Only: true
    The last date and time when the agency option was updated.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    The user who last updated the agency option.
  • Links
  • Title: Offering
    Maximum Length: 80
    The unique identifier of the product offering.
  • Title: Offering
    Read Only: true
    Maximum Length: 150
    The name of the product offering.
  • Read Only: true
    A transient value calculated at runtime to identify whether an offering is enabled or disabled in Functional Setup Manager.
Back to Top