Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Sample Management (POST)
Creates, updates, or versions Product Requirement Specification records.
- Resource
-
1/connect/manufacturing/sample-management/product-specifications - Resource example
-
1https://yourInstance.salesforce.com/services/data/v66.0/connect/manufacturing/sample-management/product-specifications - Available version
- 66.0
- HTTP methods
- POST
- Request body for POST
-
- JSON example
-
1{ 2 "requestUniqueId": "insert_op_req_1", 3 "operation": "Insert", 4 "productRequirementSpecification": { 5 "properties": [ 6 { 7 "field": "Name", 8 "value": "Project Everest Core Requirements" 9 }, 10 { 11 "field": "AccountId", 12 "value": "001xx000003GaGxAAK" 13 }, 14 { 15 "field": "Status", 16 "value": "Draft" 17 }, 18 { 19 "field": "Alias__c", 20 "value": "Requirements1136" 21 } 22 ], 23 "productRequirementSpecificationVersions": [ 24 { 25 "properties": [ 26 { 27 "field": "Name", 28 "value": "Functional1136" 29 }, 30 { 31 "field": "Purpose", 32 "value": "To define the minimum viable product (MVP) features for Project Everest." 33 }, 34 { 35 "field": "Version", 36 "value": "2" 37 }, 38 { 39 "field": "Scope", 40 "value": "To define the minimum viable product (MVP) features for Project Everest." 41 } 42 ], 43 "productRequirementSpecificationItems": [ 44 { 45 "properties": [ 46 { 47 "field": "Name", 48 "value": "Functional1136" 49 }, 50 { 51 "field": "Statement", 52 "value": "The system shall display a real-time summary of key performance indicators (KPIs) on the main dashboard." 53 }, 54 { 55 "field": "AcceptanceCriteria", 56 "value": "The system shall display a real-time summary of key performance indicators (KPIs) on the main dashboard." 57 }, 58 { 59 "field": "Category", 60 "value": "Functional" 61 } 62 ] 63 } 64 ] 65 } 66 ] 67 } 68} - Properties
-
Name Type Description Required or Optional Available Version operation String The action to perform. Required 66.0 productRequirementSpecification Product Requirement Specification Input[] The Product Requirement Specification data to process. Required 66.0 requestUniqueId String A unique ID for request tracing. This ID is returned in the response. Optional 66.0
- Response body for POST
- Sample Management Output