Retrieves all orders with the organization of logged in profile
get
/ccstore/v1/selfservice/orders
Retrieves all active orders associated with the organization of logged in profile in the currently authenticated session. If the profile is not logged in or is anonymous then the endpoint will fail. Please refer to Fusion Order Management REST API more detailed attributes.
Request
Supported Media Types
- application/json
Query Parameters
-
finder: array
Filter response fields
-
limit: integer
Specifies the number of orders to be retrieved starting from offset. Default value for the limit is 25 and max value is also 25. In case this is not present, complete list or max limit list (whichever is lower) of orders will be returned.
-
offset: integer
Starting index when paging through orders.
-
orderBy: string
The sort order
-
q: string
The query to use
-
totalResults: boolean
Calculate total results countDefault Value:
false
Response
Supported Media Types
- application/json
200 Response
Returned when operation succeeds.
Root Schema : getAllOrdersForProfile_success_response
Example Response (application/json)
{
"offset":0,
"count":2,
"hasMore":true,
"limit":25,
"links":[
{
"rel":"self",
"href":"http://localhost:8080/ccstoreui/v1/selfservice/orders"
},
{
"rel":"next",
"href":"http://localhost:8080/ccstoreui/v1/selfservice/orders?offset=25&limit=25"
}
],
"items":[
{
"Status":"Draft",
"CreationDate":"2024-04-16T09:54:20+00:00",
"TransactionalCurrencyCode":"USD",
"HeaderId":"300100591540999",
"OrderNumber":"521233",
"totals":{
"offset":0,
"count":7,
"hasMore":false,
"limit":25,
"items":[
{
"TotalCode":"QP_TOTAL_SHIP_CHARGE",
"CurrencyCode":"USD",
"OrderTotalId":"300100591541164",
"TotalName":"Shipping",
"TotalAmount":"0",
"@context":{
"headers":{
"ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
},
"key":"300100591541164"
}
},
{
"TotalCode":"QP_TOTAL_DISCOUNT",
"CurrencyCode":"USD",
"OrderTotalId":"300100591541163",
"TotalName":"Discount",
"TotalAmount":"0",
"@context":{
"headers":{
"ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
},
"key":"300100591541163"
}
},
{
"TotalCode":"QP_TOTAL_NET_PRICE",
"CurrencyCode":"USD",
"OrderTotalId":"300100591541162",
"TotalName":"Total Net Price",
"TotalAmount":"0",
"@context":{
"headers":{
"ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
},
"key":"300100591541162"
}
},
{
"TotalCode":"QP_TOTAL_LIST_PRICE",
"CurrencyCode":"USD",
"OrderTotalId":"300100591541161",
"TotalName":"Total List Price",
"TotalAmount":"0",
"@context":{
"headers":{
"ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
},
"key":"300100591541161"
}
},
{
"TotalCode":"QP_TOTAL_PAY_NOW",
"CurrencyCode":"USD",
"OrderTotalId":"300100591541167",
"TotalName":"Pay Now",
"TotalAmount":"0",
"@context":{
"headers":{
"ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
},
"key":"300100591541167"
}
},
{
"TotalCode":"QP_TOTAL_CREDIT",
"CurrencyCode":"USD",
"OrderTotalId":"300100591541166",
"TotalName":"Total Credit",
"TotalAmount":"0",
"@context":{
"headers":{
"ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
},
"key":"300100591541166"
}
},
{
"TotalCode":"QP_TOTAL_TAX",
"CurrencyCode":"USD",
"OrderTotalId":"300100591541165",
"TotalName":"Total Tax",
"TotalAmount":"0",
"@context":{
"headers":{
"ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
},
"key":"300100591541165"
}
}
]
},
"SubmittedDate":null,
"SourceTransactionNumber":"521233",
"StatusCode":"DOO_DRAFT",
"@context":{
"headers":{
"ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000778"
},
"key":"GPR%3A300100591540999"
},
"CustomerPONumber":null,
"BuyingPartyContactName":"paloju venkataramanchary",
"BuyingPartyName":"Computer Service and Rentals",
"SourceTransactionSystem":"GPR",
"SourceTransactionId":"300100591540999",
"OrderKey":"GPR:300100591540999",
"LastUpdateDate":"2024-04-16T09:57:53.031+00:00"
},
{
"Status":"Processing",
"CreationDate":"2024-04-16T04:39:27+00:00",
"TransactionalCurrencyCode":"USD",
"HeaderId":"300100591519648",
"OrderNumber":"521227",
"totals":{
"offset":0,
"count":7,
"hasMore":false,
"limit":25,
"items":[
{
"TotalCode":"QP_TOTAL_SHIP_CHARGE",
"CurrencyCode":"USD",
"OrderTotalId":"300100591520310",
"TotalName":"Shipping",
"TotalAmount":"0",
"@context":{
"headers":{
"ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
},
"key":"300100591520310"
}
},
{
"TotalCode":"QP_TOTAL_LIST_PRICE",
"CurrencyCode":"USD",
"OrderTotalId":"300100591520277",
"TotalName":"Total List Price",
"TotalAmount":"1025",
"@context":{
"headers":{
"ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
},
"key":"300100591520277"
}
},
{
"TotalCode":"QP_TOTAL_DISCOUNT",
"CurrencyCode":"USD",
"OrderTotalId":"300100591520309",
"TotalName":"Discount",
"TotalAmount":"0",
"@context":{
"headers":{
"ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
},
"key":"300100591520309"
}
},
{
"TotalCode":"QP_TOTAL_NET_PRICE",
"CurrencyCode":"USD",
"OrderTotalId":"300100591520279",
"TotalName":"Total Net Price",
"TotalAmount":"1025",
"@context":{
"headers":{
"ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
},
"key":"300100591520279"
}
},
{
"TotalCode":"QP_TOTAL_TAX",
"CurrencyCode":"USD",
"OrderTotalId":"300100591520295",
"TotalName":"Total Tax",
"TotalAmount":"205",
"@context":{
"headers":{
"ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
},
"key":"300100591520295"
}
},
{
"TotalCode":"QP_TOTAL_CREDIT",
"CurrencyCode":"USD",
"OrderTotalId":"300100591520311",
"TotalName":"Total Credit",
"TotalAmount":"0",
"@context":{
"headers":{
"ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
},
"key":"300100591520311"
}
},
{
"TotalCode":"QP_TOTAL_PAY_NOW",
"CurrencyCode":"USD",
"OrderTotalId":"300100591520281",
"TotalName":"Pay Now",
"TotalAmount":"1230",
"@context":{
"headers":{
"ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
},
"key":"300100591520281"
}
}
]
},
"SubmittedDate":"2024-04-16T04:46:03.305+00:00",
"SourceTransactionNumber":"521227",
"StatusCode":"OPEN",
"@context":{
"headers":{
"ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000B78"
},
"key":"GPR%3A300100591519648"
},
"CustomerPONumber":null,
"BuyingPartyContactName":"paloju venkataramanchary",
"BuyingPartyName":"Computer Service and Rentals",
"SourceTransactionSystem":"GPR",
"SourceTransactionId":"300100591519648",
"OrderKey":"GPR:300100591519648",
"LastUpdateDate":"2024-04-16T04:46:02.602+00:00"
}
]
}
401 Response
Returned when operation fails.
Root Schema : getAllOrdersForProfile_401_failure_response
Example Response (application/json)
{
"errorCode":"00001000",
"message":"The user is not authenticated.",
"status":"401"
}
500 Response
Returned when operation fails.
Root Schema : getAllOrdersForProfile_500_failure_response
Example Response (application/json)
{
"errorCode":"59004",
"message":"Error occurred while making socket connection.",
"status":"500"
}