Create demand planners

post

/fscmRestApi/resources/11.13.18.05/collaborationDemandPlanners

Request

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.
  • 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
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Data Access Security
    Title: Data Access Security
    The Data Access Security resource manages the data assess security for the demand planner.
  • Document Visibility
    Title: Document Visibility
    The Document Visibility resource manages the visibility to documents for the demand planner.
  • Title: Email
    Maximum Length: 240
    Primary work email of the user.
  • Contains one of the following values: Yes or No. If Yes, then the demand planner has access to the entire customer forecast data. If No, then the demand planner doesn't have access to the entire customer forecast data. The default value is No.
  • Maximum Length: 150
    Person last name.
  • Maximum Length: 30
    Abbreviation that identifies the user's participant type. A list of accepted values is ORA_VCS_CUSTOMER or ORA_VCS_ENTERPRISE.
  • Value that uniquely identifies the customer contact.
  • Maximum Length: 80
    Value that indicates the administrative status of the demand planner. The service provider determines the definitive value for this attribute. For example, Active indicates that the demand planner can access order forecast data, and Inactive indicates that the demand planner can't access order forecast data. The default value is Active.
  • Maximum Length: 30
    Default Value: ORA_VCS_ACTIVE
    Abbreviation that identifies the status of the demand planner.
  • Maximum Length: 100
    Login that the demand planner used to directly authenticate with the service provider. This attribute is required.
Nested Schema : Data Access Security
Type: array
Title: Data Access Security
The Data Access Security resource manages the data assess security for the demand planner.
Show Source
Nested Schema : Document Visibility
Type: array
Title: Document Visibility
The Document Visibility resource manages the visibility to documents for the demand planner.
Show Source
Nested Schema : collaborationDemandPlanners-dataAccessSecurity-item-post-request
Type: object
Show Source
  • Value that uniquely identifies the customer in the customer forecast that receives the item. It's a primary key that the application creates when it creates the customer.
  • Maximum Length: 360
    Name of the customer in the customer forecast that receives the item.
  • Maximum Length: 360
    Number that identifies the customer in the customer forecast that receives the item.
  • Value that uniquely identifies the customer site in the customer forecast that receives the item. It's a primary key that the application creates when it creates the customer.
  • Maximum Length: 30
    Number that identifies customer site in the customer forecast that receives the item.
  • Maximum Length: 30
    Abbreviation that identifies the level of security applied. A list of accepted values is defined in the lookup type ORA_VCS_SECURITY_CONTEXT.
Nested Schema : collaborationDemandPlanners-documentVisibility-item-post-request
Type: object
Show Source
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 : collaborationDemandPlanners-item-response
Type: object
Show Source
  • Read Only: true
    Maximum Length: 64
    User who created the demand planner.
  • Read Only: true
    Date and time when the user created the demand planner.
  • Data Access Security
    Title: Data Access Security
    The Data Access Security resource manages the data assess security for the demand planner.
  • Read Only: true
    Value that uniquely identifies the demand planner.
  • Read Only: true
    Maximum Length: 240
    Name of the user displayed on the UI.
  • Document Visibility
    Title: Document Visibility
    The Document Visibility resource manages the visibility to documents for the demand planner.
  • Title: Email
    Maximum Length: 240
    Primary work email of the user.
  • Read Only: true
    Maximum Length: 150
    Person first name.
  • Contains one of the following values: Yes or No. If Yes, then the demand planner has access to the entire customer forecast data. If No, then the demand planner doesn't have access to the entire customer forecast data. The default value is No.
  • Maximum Length: 150
    Person last name.
  • Read Only: true
    Date and time when the user most recently updated the demand planner.
  • Read Only: true
    Maximum Length: 64
    User who most recently updated the demand planner.
  • Links
  • Read Only: true
    Maximum Length: 240
    Listed name of the user.
  • Maximum Length: 30
    Abbreviation that identifies the user's participant type. A list of accepted values is ORA_VCS_CUSTOMER or ORA_VCS_ENTERPRISE.
  • Title: Meaning
    Read Only: true
    Maximum Length: 80
    The user's participant type.
  • Value that uniquely identifies the customer contact.
  • Maximum Length: 80
    Value that indicates the administrative status of the demand planner. The service provider determines the definitive value for this attribute. For example, Active indicates that the demand planner can access order forecast data, and Inactive indicates that the demand planner can't access order forecast data. The default value is Active.
  • Maximum Length: 30
    Default Value: ORA_VCS_ACTIVE
    Abbreviation that identifies the status of the demand planner.
  • Maximum Length: 100
    Login that the demand planner used to directly authenticate with the service provider. This attribute is required.
Nested Schema : Data Access Security
Type: array
Title: Data Access Security
The Data Access Security resource manages the data assess security for the demand planner.
Show Source
Nested Schema : Document Visibility
Type: array
Title: Document Visibility
The Document Visibility resource manages the visibility to documents for the demand planner.
Show Source
Nested Schema : collaborationDemandPlanners-dataAccessSecurity-item-response
Type: object
Show Source
  • Read Only: true
    Maximum Length: 64
    User who created the data access security.
  • Read Only: true
    Date and time when the user created the data access security.
  • Value that uniquely identifies the customer in the customer forecast that receives the item. It's a primary key that the application creates when it creates the customer.
  • Maximum Length: 360
    Name of the customer in the customer forecast that receives the item.
  • Maximum Length: 360
    Number that identifies the customer in the customer forecast that receives the item.
  • Read Only: true
    Maximum Length: 960
    Address of the customer site in the customer forecast that receives the item.
  • Value that uniquely identifies the customer site in the customer forecast that receives the item. It's a primary key that the application creates when it creates the customer.
  • Read Only: true
    Maximum Length: 30
    Location of the customer site in the customer forecast that receives the item.
  • Maximum Length: 30
    Number that identifies customer site in the customer forecast that receives the item.
  • Read Only: true
    Value that uniquely identifies the specific data security access granted to the demand planner.
  • Read Only: true
    Date and time when the user most recently updated the data access security.
  • Read Only: true
    Maximum Length: 64
    User who most recently updated the data access security.
  • Links
  • Read Only: true
    Maximum Length: 80
    Value that identifies the level of security applied. Values include Customer or Customer Site. The default value is Customer.
  • Maximum Length: 30
    Abbreviation that identifies the level of security applied. A list of accepted values is defined in the lookup type ORA_VCS_SECURITY_CONTEXT.
Nested Schema : collaborationDemandPlanners-documentVisibility-item-response
Type: object
Show Source
  • Read Only: true
    Maximum Length: 80
    Level of the customer a document accepts for collaboration.
  • Read Only: true
    Maximum Length: 30
    Abbreviation that identifies the customer level of the document. A list of accepted values is defined in the lookup type ORA_VCS_LVL_CUSTOMER.
  • Read Only: true
    Value that uniquely identifies the document definition.
  • Abbreviation that identifies the type of document used for collaboration.
  • Read Only: true
    Maximum Length: 80
    Type of document used for collaboration.
  • Read Only: true
    Value that uniquely identifies the specific document visibility assigned to the demand planner.
  • Read Only: true
    Maximum Length: 80
    Level of the item a document accepts for collaboration.
  • Read Only: true
    Maximum Length: 30
    Abbreviation that identifies the item level of the document. A list of accepted values is defined in the lookup type ORA_VCS_LVL_ITEM.
  • Links
  • Read Only: true
    Maximum Length: 80
    Level of the organization a document accepts for collaboration.
  • Read Only: true
    Maximum Length: 30
    Abbreviation that identifies the organization level of the document. A list of accepted values is defined in the lookup type ORA_VCS_LVL_ORGANIZATION.
  • Read Only: true
    Maximum Length: 80
    Current state of the document definition.
  • Read Only: true
    Maximum Length: 30
    Abbreviation that identifies the current state of the document definition.
Back to Top

Examples

This example describes how to create enterprise and customer users who can collaborate on customer forecasts.

.

Example cURL Command

Use the following cURL command to submit a request on the REST resource.

curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.action+json" -d 'request payload' 
"https://servername/fscmRestApi/resources/version/collaborationDemandPlanners"

Example Request Body

The following example includes the contents of the request body in JSON format. In this example, a file attahment is uploaded to the purchase order header successfully. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it creates.
{
    "ParticipantCode":"ORA_VCS_ENTERPRISE",
    "UserName":"mark.roman",
    "FullAccessFlag": "true",
    "documentVisibility": [
        {
            "DocumentTypeCode": "VCS_CONSUMPTION"
        },
        {
            "DocumentTypeCode": "VCS_FORECAST"
        }
    ]
}

Example Response Body

The following example includes the contents of the response body in JSON format:

{
    "DemandPlannerId": 300100548703055,
    "UserName": "mark.roman",
    "DisplayName": null,
    "ListName": null,
    "Email": null,
    "StatusCode": "ORA_VCS_ACTIVE",
    "Status": null,
    "CreatedBy": "COLLABPLANNER",
    "CreationDate": "2021-11-19T21:18:07+00:00",
    "LastUpdatedBy": "COLLABPLANNER",
    "LastUpdateDate": "2021-11-19T21:18:07.455+00:00",
    "FullAccessFlag": "false",
    "FirstName": null,
    "LastName": null,
    "ParticipantCode": "ORA_VCS_ENTERPRISE",
    "ParticipantName": null,
    "PersonPartyId": null,
    "dataAccessSecurity": {
        "items": [
            {
                "DataAccessId": 300100548703056,
                "SecurityContextCode": "ORA_VCS_CUSTOMER",
                "SecurityContext": null,
                "CustomerId": 300100138826553,
                "CustomerNumber": null,
                "CustomerName": "California Fitness",
                "CustomerSiteId": null,
                "CustomerSiteNumber": null,
                "CustomerSiteAddress": null,
                "CustomerSiteLocation": null,
                "CreatedBy": "COLLABPLANNER",
                "CreationDate": "2021-11-19T21:18:07.147+00:00",
                "LastUpdatedBy": "COLLABPLANNER",
                "LastUpdateDate": "2021-11-19T21:18:07.455+00:00",
                "links": [
                    {
                        "rel": "self",
                        "href": "https://servername/fscmRestApi/resources/version/collaborationDemandPlanners/300100548703055/child/dataAccessSecurity/300100548703056",
                        "name": "dataAccessSecurity",
                        "kind": "item",
                        "properties": {
                            "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
                        }
                    },
                    {
                        "rel": "canonical",
                        "href": "https://servername/fscmRestApi/resources/version/collaborationDemandPlanners/300100548703055/child/dataAccessSecurity/300100548703056",
                        "name": "dataAccessSecurity",
                        "kind": "item"
                    },
                    {
                        "rel": "parent",
                        "href": "https://servername/fscmRestApi/resources/version/collaborationDemandPlanners/300100548703055",
                        "name": "collaborationDemandPlanners",
                        "kind": "item"
                    }
                ]
            }
        ],
        "count": 1,
        "hasMore": false,
        "limit": 25,
        "offset": 0,
        "links": [
            {
                "rel": "self",
                "href": "https://servername/fscmRestApi/resources/version/collaborationDemandPlanners/300100548703055/child/dataAccessSecurity",
                "name": "dataAccessSecurity",
                "kind": "collection"
            }
        ]
    },
    "documentVisibility": {
        "items": [
            {
                "DocumentVisibilityId": 300100548703057,
                "DocumentId": -10002,
                "DocumentTypeCode": null,
                "DocumentTypeName": null,
                "CustomerLevelCode": null,
                "CustomerLevel": null,
                "OrganizationLevelCode": null,
                "OrganizationLevel": null,
                "ItemLevelCode": null,
                "ItemLevel": null,
                "StatusCode": null,
                "Status": null,
                "links": [
                    {
                        "rel": "self",
                        "href": "https://servername/fscmRestApi/resources/version/collaborationDemandPlanners/300100548703055/child/documentVisibility/300100548703057",
                        "name": "documentVisibility",
                        "kind": "item",
                        "properties": {
                            "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
                        }
                    },
                    {
                        "rel": "canonical",
                        "href": "https://servername/fscmRestApi/resources/version/collaborationDemandPlanners/300100548703055/child/documentVisibility/300100548703057",
                        "name": "documentVisibility",
                        "kind": "item"
                    },
                    {
                        "rel": "parent",
                        "href": "https://servername/fscmRestApi/resources/version/collaborationDemandPlanners/300100548703055",
                        "name": "collaborationDemandPlanners",
                        "kind": "item"
                    }
                ]
            },
            {
                "DocumentVisibilityId": 300100548703058,
                "DocumentId": -10001,
                "DocumentTypeCode": null,
                "DocumentTypeName": null,
                "CustomerLevelCode": null,
                "CustomerLevel": null,
                "OrganizationLevelCode": null,
                "OrganizationLevel": null,
                "ItemLevelCode": null,
                "ItemLevel": null,
                "StatusCode": null,
                "Status": null,
                "links": [
                    {
                        "rel": "self",
                        "href": "https://servername/fscmRestApi/resources/version/collaborationDemandPlanners/300100548703055/child/documentVisibility/300100548703058",
                        "name": "documentVisibility",
                        "kind": "item",
                        "properties": {
                            "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
                        }
                    },
                    {
                        "rel": "canonical",
                        "href": "https://servername/fscmRestApi/resources/version/collaborationDemandPlanners/300100548703055/child/documentVisibility/300100548703058",
                        "name": "documentVisibility",
                        "kind": "item"
                    },
                    {
                        "rel": "parent",
                        "href": "https://servername/fscmRestApi/resources/version/collaborationDemandPlanners/300100548703055",
                        "name": "collaborationDemandPlanners",
                        "kind": "item"
                    }
                ]
            }
        ],
        "count": 2,
        "hasMore": false,
        "limit": 25,
        "offset": 0,
        "links": [
            {
                "rel": "self",
                "href": "https://servername/fscmRestApi/resources/version/collaborationDemandPlanners/300100548703055/child/documentVisibility",
                "name": "documentVisibility",
                "kind": "collection"
            }
        ]
    },
    "links": [
        {
            "rel": "self",
            "href": "https://servername/fscmRestApi/resources/version/collaborationDemandPlanners/300100548703055",
            "name": "collaborationDemandPlanners",
            "kind": "item",
            "properties": {
                "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
            }
        },
        {
            "rel": "canonical",
            "href": "https://servername/fscmRestApi/resources/version/collaborationDemandPlanners/300100548703055",
            "name": "collaborationDemandPlanners",
            "kind": "item"
        },
        {
            "rel": "child",
            "href": "https://servername/fscmRestApi/resources/version/collaborationDemandPlanners/300100548703055/child/dataAccessSecurity",
            "name": "dataAccessSecurity",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://servername/fscmRestApi/resources/version/collaborationDemandPlanners/300100548703055/child/documentVisibility",
            "name": "documentVisibility",
            "kind": "collection"
        }
    ]
}
Back to Top