Create a project customer

post

/fscmRestApi/resources/11.13.18.05/projectTemplates/{projectTemplatesUniqID}/child/ProjectCustomers

Request

Path Parameters
  • This is the hash key of the attributes which make up the composite key for the Project Templates resource and used to uniquely identify an instance of Project Templates. The client should not generate the hash key value. Instead, the client should query on the Project Templates collection resource in order to navigate to a specific instance of Project Templates to get the hash key.
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
  • Title: Customer Party ID
    Unique identifier of the project customer party. You must enter a value for this attribute, Customer Party Name or Customer Party Number but not more than one of these three attributes.
  • Title: Customer Party Name
    Maximum Length: 360
    Unique number of a person or group of persons who constitute the project customer. You must enter a value for this attribute, Customer Party ID or Customer Party Name but not more than one of these three attributes.
  • Title: Customer Party Number
    Maximum Length: 30
    Name of a person or group of persons who constitute the project customer. You must enter a value for this attribute, Customer Party ID or Customer Party Number but not more than one of these three attributes.
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 : projectTemplates-ProjectCustomers-item-response
Type: object
Show Source
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    The user who created the record.
  • Title: Creation Date
    Read Only: true
    The date when the record was created.
  • Title: Last Updated Date
    Read Only: true
    The date when the record was last updated.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    The user who last updated the record.
  • Links
  • Title: Customer Party ID
    Unique identifier of the project customer party. You must enter a value for this attribute, Customer Party Name or Customer Party Number but not more than one of these three attributes.
  • Title: Customer Party Name
    Maximum Length: 360
    Unique number of a person or group of persons who constitute the project customer. You must enter a value for this attribute, Customer Party ID or Customer Party Name but not more than one of these three attributes.
  • Title: Customer Party Number
    Maximum Length: 30
    Name of a person or group of persons who constitute the project customer. You must enter a value for this attribute, Customer Party ID or Customer Party Number but not more than one of these three attributes.
  • Title: Project Party ID
    Read Only: true
    Unique identifier of the party assignment to the project.
Back to Top

Examples

The following example shows how to create a project customer by submitting a POST request on the REST resource using cURL.

curl --user ppm_cloud_user -X POST -d @example_request_payload.json --header "Content-Type: application/json" https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectTemplates

Request Body Example

The following shows an example of the request body in JSON format.

{
"ProjectTemplateName": "AT99 Tower Construction at Santiago",
"ProjectTemplateNumber": "AT99 PROJ99",
"ProjectTemplateStartDate" : "2018-07-04",
"InitialProjectStatusCode" : "APPROVED",
"BusinessUnitId" : "204",
"LegalEntityId" : "204",
"OwningOrganizationId" : "204",
"ProjectTypeId" : "100000010065002",
"ProjectUnitId" : "100010023900163",
"WorkTypeId" : "10020",
"ProjectCustomers": [
{
"PartyName": "JENDOCO CONSTRUCTION CORP"
},
{
"PartyName": "Hilman and Associates"
}
]
}

Response Body Example

The following shows an example of the response body in JSON format.

{
    "AllowCrossChargeFlag": false,
    "BusinessUnitName": "Vision Operations",
    "BusinessUnitId": 204,
    "CrossChargeLaborFlag": false,
    "CrossChargeNonLaborFlag": false,
    "EnableBudgetaryControlFlag": false,
    "InitialProjectStatus": "Approved",
    "InitialProjectStatusCode": "APPROVED",
    "LaborTpFixedDate": null,
    "LaborTpSchedule": null,
    "LaborTpScheduleId": null,
    "LegalEntityName": "Vision Operations",
    "LegalEntityId": 204,
    "NlTransferPriceFixedDate": null,
    "NlTransferPriceSchedule": null,
    "NlTransferPriceScheduleId": null,
    "OwningOrganizationName": "Vision Operations",
    "OwningOrganizationId": 204,
    "ProjectCurrencyCode": "USD",
    "ProjectEndDate": null,
    "ProjectPriorityCode": null,
    "ProjectStartDate": "2018-07-04",
    "ProjectTemplateDescription": null,
    "ProjectTemplateEndDate": null,
    "ProjectTemplateId": 300100176473671,
    "ProjectTemplateName": "AT99 Tower Construction at Santiago",
    "ProjectTemplateNumber": "AT99 PROJ99",
    "ProjectTemplateStartDate": "2018-07-04",
    "ProjectTypeName": "Service Delivery ",
    "ProjectTypeId": 100000010065002,
    "ProjectUnitName": "Project Operations",
    "ProjectUnitId": 100010023900163,
    "ServiceType": null,
    "ServiceTypeCode": null,
    "SourceApplicationCode": "ORA_PROJECT_SERVICE",
    "SourceReference": null,
    "TransactionControlFlag": null,
    "WorkType": "Commercial Customer-billable",
    "WorkTypeId": 10020,
    "CreatedBy": "ABRAHAM.MASON",
    "CreationDate": "2019-03-20T09:48:09.001+00:00",
    "LastUpdatedBy": "ABRAHAM.MASON",
    "LastUpdateDate": "2019-03-20T09:48:11.800+00:00",
    "ProjectCustomers": [
        {
            "PartyId": 1604800,
            "PartyName": "JENDOCO CONSTRUCTION CORP",
            "PartyNumber": "1404723",
            "ProjectPartyId": 300100176473677,
            "CreatedBy": "ABRAHAM.MASON",
            "CreationDate": "2019-03-20T09:48:10.505+00:00",
            "LastUpdatedBy": "ABRAHAM.MASON",
            "LastUpdateDate": "2019-03-20T09:48:11.916+00:00",
            "links": [
                {
                    "rel": "self",
                    "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671/child/ProjectCustomers/300100176473677",
                    "name": "ProjectCustomers",
                    "kind": "item",
                    "properties": {
                        "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
                    }
                },
                {
                    "rel": "canonical",
                    "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671/child/ProjectCustomers/300100176473677",
                    "name": "ProjectCustomers",
                    "kind": "item"
                },
                {
                    "rel": "parent",
                    "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671",
                    "name": "projectTemplates",
                    "kind": "item"
                },
                {
                    "rel": "lov",
                    "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671/child/ProjectCustomers/300100176473677/lov/Parties",
                    "name": "Parties",
                    "kind": "collection"
                }
            ]
        },
        {
            "PartyId": 1004,
            "PartyName": "Hilman and Associates",
            "PartyNumber": "1004",
            "ProjectPartyId": 300100176473678,
            "CreatedBy": "ABRAHAM.MASON",
            "CreationDate": "2019-03-20T09:48:11.011+00:00",
            "LastUpdatedBy": "ABRAHAM.MASON",
            "LastUpdateDate": "2019-03-20T09:48:12.245+00:00",
            "links": [
                {
                    "rel": "self",
                    "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671/child/ProjectCustomers/300100176473678",
                    "name": "ProjectCustomers",
                    "kind": "item",
                    "properties": {
                        "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
                    }
                },
                {
                    "rel": "canonical",
                    "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671/child/ProjectCustomers/300100176473678",
                    "name": "ProjectCustomers",
                    "kind": "item"
                },
                {
                    "rel": "parent",
                    "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671",
                    "name": "projectTemplates",
                    "kind": "item"
                },
                {
                    "rel": "lov",
                    "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671/child/ProjectCustomers/300100176473678/lov/Parties",
                    "name": "Parties",
                    "kind": "collection"
                }
            ]
        }
    ],
    "links": [
        {
            "rel": "self",
            "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671",
            "name": "projectTemplates",
            "kind": "item",
            "properties": {
                "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
            }
        },
        {
            "rel": "canonical",
            "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671",
            "name": "projectTemplates",
            "kind": "item"
        },
        {
            "rel": "lov",
            "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671/lov/ServiceTypes",
            "name": "ServiceTypes",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671/lov/ProjectUnits",
            "name": "ProjectUnits",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671/lov/LegalEntities",
            "name": "LegalEntities",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671/lov/ProjectStatuses",
            "name": "ProjectStatuses",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671/lov/OwningOrganizations",
            "name": "OwningOrganizations",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671/lov/BusinessUnits",
            "name": "BusinessUnits",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671/lov/WorkTypes",
            "name": "WorkTypes",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671/lov/ProjectTypes",
            "name": "ProjectTypes",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671/lov/TransferPriceSchedules",
            "name": "TransferPriceSchedules",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671/child/SetupOptions",
            "name": "SetupOptions",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671/child/ProjectTeamMembers",
            "name": "ProjectTeamMembers",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671/child/Tasks",
            "name": "Tasks",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671/child/ProjectTransactionControls",
            "name": "ProjectTransactionControls",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671/child/ProjectCustomers",
            "name": "ProjectCustomers",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671/child/QuickEntries",
            "name": "QuickEntries",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://servername/fscmRestApi/resources/11.13.18.05/projectTemplates/300100176473671/child/ProjectClassifications",
            "name": "ProjectClassifications",
            "kind": "collection"
        }
    ]
}
Back to Top