Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

curl --location 'https://devwcumpapp2.xytech.xytechsystems.com/xyt_main/orchestration/api/v2/database/XYT_MAIN_V/auth/login' \
--header 'Content-Type: application/json' \
--data '{
"username":"username",
"password":"password"
}'curl --location 'https://devwcumpapp2.xytech.xytechsystems.com/xyt_main/orchestration/api/v2/database/XYT_MAIN_V/auth/refresh' \
--header 'Content-Type: application/json' \
--data '{
"accessToken": "xxx",
"refreshToken": "xxx"
}'SaveArgument: {"LoadTemplate":"1012","LoadChildTemplates":"Y"}curl --location 'https://devwcumpapp2.xytech.xytechsystems.com/xyt_main/api/v2/database/XYT_MAIN_RUBY_V/SysAttachment/attachment_keystring=10339:100-1' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic xxxxxxxxxxxxxxxxxxxx' \
--form '=@"/C:/temp/DetailsOn100-1.txt"' \
--form '=@"/C:/temp/A File.pdf"'{{server}}/JmJob/job_no=342/jm_episode?resultColumns={"jm_episode":"title_no"}{{server}}/XmTransmissionOrder/wo_no_seq=1072992-1/mo_service_row/service_row_no=221083/mo_operation/operation_no=133119?resultColumns={"mo_operation":["operation_no","task_no","trx_resource_desc","trx_group_desc"]}











curl --location --request PUT 'https://{APIbaseURL}/JmJob/external_key=PH20250205a' \
--header 'Content-Type: application/json-patch+json' \
--header 'Authorization: Basic ********' \
--data '{
"jm_job": [
{
"job_no": {
"external_key": "PH20250205a"
},
"external_key": "PH20250205a",
"division_no": 12,
"cust_id": "010",
"job_desc": "test2",
"job_type_no": 163,
"account_rep_no_1": 18,
"active": "Y"
}
]
}'curl --location --request PUT 'http://{APIbaseURL}/LibMaster/barcode=XYZ19030504' \
--header 'Content-Type: application/json-patch+json' \
--header 'rowAction: {"DeleteAll":["lib_master_audio","lib_master_title"]}' \
--header 'Authorization: Basic **************' \
--data '{
"lib_master": [
{
"master_no": {
"barcode": "XYZ19030504"
},
"master_desc": "My Content 40",
"asset_type_no": "1",
"lib_master_title": [
{
"title_no": {
"title_no": "36"
}
}
],
"lib_master_audio": [
{
"audio_desc": "Stereo Left",
"audio_content_desc": "English",
"track_language": "English",
"audio_channel": "1"
},
{
"audio_desc": "Stereo Right",
"audio_content_desc": "English",
"track_language": "English",
"audio_channel": "2"
}
]
}
]
}'{
"mo_service_row": [
{
"service_header": "string",
"service_desc": "string",
"service_row_no": {
"service_row_no": 0,
"external_key": "string"
},
"dsp_seq": 0,
...[
{
"service_header": "Y",
"service_desc": "AUTO ROUTE",
"service_row_no": {
"service_row_no": 7428,
"external_key": null
},
"dsp_seq": 1,
..."2023-04-21T01:00:00+01:00""2023-04-21T00:00:00Z"curl --location --globoff 'http://{APIbaseURL}/JmWorkOrder/wo_no_seq=2627-1?resultColumns={"jm_work_order":["wo_no_seq","wo_desc","wo_begin_dt","wo_end_dt","phase_desc","sched_by_name"]}&nullvaluehandling=ignore' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic *************' \
--data '@'{
"jm_work_order": [
{
"wo_no_seq": {
"wo_no_seq": "2627-1"
},
"wo_desc": "Dscription2",
"wo_begin_dt": "2000-03-31T02:30:00-08:00",
"wo_end_dt": "2000-03-31T05:30:00-08:00",
"wo_type_no": {
"wo_type_no": 3275,
"wo_type_desc": "Production"
}
}
]
}curl --location 'http://{APIbaseURL}/JmWorkOrder' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic ********' \
--data '{
"jm_work_order": [
{
"wo_desc": "Match20",
"wo_begin_dt": "2023-08-22T10:00:00.000Z",
"wo_end_dt": "2023-08-22T16:00:00.000Z",
"wo_type_no": 17,
"phase_code": "Bid",
"rate_card_no": 1,
"cust_id": 19
}
]
}'{
"message": null,
"tables": [
"jm_work_order"
],
"jm_work_order": {
"record_identifiers": [
"wo_no_seq"
],
"records": [
{
"wo_no_seq": "8250-1"
}
]
}
}curl --location --request PATCH 'http://{APIbaseURL}/JmJob/job_no=67981' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic **********' \
--data '[
{
"op": "replace",
"path": "job_desc",
"value": "Hello World"
},
{
"op": "replace",
"path": "external_key",
"value": 15411
}
]'curl --location --request PATCH 'http://{APIbaseURL}/JmWorkOrder/wo_no_seq=8248-1' \
--header 'Content-Type: application/json-patch+json' \
--header 'Authorization: Basic **********' \
--data '{
"jm_work_order": [
{
"wo_no_seq": {
"wo_no_seq": "8248-1"
},
"wo_desc": "My New Description",
"po": "123456",
"phase_code": "Hold"
}
]
}'{
"message": null,
"tables": []
}curl --location --globoff --request PATCH 'http://{APIbaseURL}/JmWorkOrderList?Query={"date_added":{"$range":["2022-07-26T00:00:00","2023-07-28T00:00:00"]},"wo_type_no": 40}' \
--header 'Content-Type: application/json' \
--header 'Authorization: ••••••' \
--data '[
{
"op": "replace",
"path": "wo_reference",
"value": "Quick Service 2"
}
]'{
"jm_job": [
{
"job_no": {
"job_no": -1
},
"division_no": {
"division_no": 2
},
"cust_id": {
"cust_id": 409
},
"job_desc": "Passing Fancy",
"external_key": "1234",
"po": "PO002",
"job_type_no": {
"job_type_no": 1113
}
}
]
}{
"jm_job": [
{
"job_no": -1,
"division_no": 2,
"cust_id": "409",
"job_desc": "Passing Fancy",
"external_key": "1234",
"po": "PO002",
"job_type_no": 1113
}
]
}{
"sch_resource": [
{
"resource_code": {
"resource_code": "FRED01"
},
"resource_desc": "Fred",
"external_key": "Ext001"
}
]
}{
"jm_job": [
{
"job_no": {
"job_no": 342,
"external_key": "154110"
},
"division_no": {
"division_no": 2,
"division_desc": "Burbank ",
"division_code": "BRB",
"external_key": null
},
"cust_id": {
"list_id": "409",
"other_cust_id": null,
"cust_reference": null,
"external_key": null,
"cust_id": "409"
},
"other_cust_id": null,
"external_key": "154110",
"customer_name": "Tupper Lake Films",
...{
"lib_master": [
{
"master_no": {
"master_no": 18,
"barcode": "2000XYT",
"external_key": null,
"umid": null
},
"cust_id": {
"list_id": "32",
"other_cust_id": null,
"cust_reference": null,
"external_key": null,
"cust_id": "32"
},
"customer_name": "Alchemy Films",
"master_desc": "International Master
...{{server}}/LibMaster/barcode=2000XYT{
"jm_work_order": [
{
"wo_no_seq": "+1",
"wo_desc": "Match20",
"wo_begin_dt": "2023-08-22T10:00:00.000Z",
"wo_end_dt": "2023-08-22T16:00:00.000Z",
"wo_type_no": 17,
"phase_code": "Bid",
"rate_card_no": 1,
"cust_id": 19
}
]
}
{
"cust_id": {
"cust_id": "4",
"cust_reference": "a",
"list_id": "4",
"other_cust_id": "80000016-1475102220"
},
"customer_name": "Xytech Systems (80000016-1475102220)",
"division_no": {
"division_code": "BUR",
"division_desc": "Burbank",
"division_no": 12
},
"jm_episode": [
{
"episode_desc": "Come, Now is the Time to Worship",
"episode_number": "3",
"job_no": 1
}
],
"jm_installment": [
{
"installment_desc": "First installment",
"installment_no": 1486,
"job_no": 1
}
],
"job_no": {
"external_key": null,
"job_no": 1
},
"other_cust_id": "80000016-1475102220"
}{
"jm_job": [
{
"job_no": {
"job_no": 1
},
"division_no": {
"division_no": 12
},
"cust_id": {
"cust_id": "4"
},
"customer_name": "Xytech Systems (80000016-1475102220)",
"title": "Hungary",
"job_type_no": {
"job_type_no": 1158
},
"jm_episode": [
{
"job_no": 1,
"episode_det_no": {
"episode_det_no": 1
},
"episode_number": "3",
"episode_desc": "Come, Now is the Time to Worship",
}
],
"jm_installment": [
{
"installment_no": {
"installment_no": 1486
},
"installment_desc": "First installment",
"term_no": {
"term_no": 33
},
"invoice_type": {
"invoice_type": 1
},
},
]
}
]
}{
"wo_desc": " AS XM Test 7",
"wo_begin_dt": "2024-09-07T00:00:00-07:00",
"wo_end_dt": "2024-09-07T00:00:00-07:00",
"wo_type_no": {
"wo_type_no": 3301
},
"phase_code": {
"phase_code": "Conf"
},
"cust_id": {
"list_id": "403"
},
"xm_mode_type": "O",
"xm_mode_no": {
"xm_mode_no": 12
}
}{
"jm_work_order": [
{
"wo_desc": " AS XM Test 7",
"wo_begin_dt": "2024-09-07T00:00:00-07:00",
"wo_end_dt": "2024-09-07T00:00:00-07:00",
"wo_type_no": {
"wo_type_no": 3301
},
"phase_code": {
"phase_code": "Conf"
},
"cust_id": {
"list_id": "403"
},
"xm_mode_type": "O",
"xm_mode_no": {
"xm_mode_no": 12
},
"mo_service_row": [
{
"service_row_no": {
"service_row_no": -1
},
"service_header": "Y",
"service_no": {
"service_no": 482
},
"service_profile_no": {
"service_profile_no": 1264
},
"service_status_no": {
"service_status_no": 3,
"service_status_code": "RDY"
},
"service_profile_desc": "Media Broadcast BNS"
},
{
"service_row_no": {
"service_row_no": -2
},
"service_header": "N",
"service_no": {
"service_no": 482
},
"service_profile_no": {
"service_profile_no": 1264
},
"service_status_no": {
"service_status_no": 3,
"service_status_code": "RDY"
},
"parent_service_row_no": -1,
"service_profile_desc": "Media Broadcast BNS",
"mo_operation": [
{
"operation_no": {
"operation_no": -1
},
"task_no": {
"task_no": 200,
"task_code": "ALW"
},
"service_row_no": -1,
"status_no": 2,
"task_code": "ALW",
"trx_group_code": {
"group_code": "0004S",
"trx_group_code": "0004S"
},
"trx_resource_code": {
"resource_code": "FCR10",
"trx_resource_code": "FCR10"
},
"trx_phase_code": {
"phase_code": "Conf",
"trx_phase_code": "Conf"
},
"trx_sched_qty": 1,
"lock_billing_unit": "N"
}
]
}
]
}
]
}{
"message": null,
"tables": [
"jm_work_order",
"mo_service_row",
"mo_operation"
],
"jm_work_order": {
"record_identifiers": [
"wo_no_seq"
],
"records": [
{
"wo_no_seq": "1067998-1"
}
]
},
"mo_service_row": {
"record_identifiers": [
"service_row_no"
],
"records": [
{
"service_row_no": 217413
},
{
"service_row_no": 217414
}
]
},
"mo_operation": {
"record_identifiers": [
"operation_no"
],
"records": [
{
"operation_no": 128370
},
{
"operation_no": 128371
}
]
}
}


curl --location --globoff '{APIBaseURL}/JmWorkOrder' \
--header 'Content-Type: application/json' \
--header 'saveArgument: {"LoadTemplateOption":1,"LoadChildTemplates":"Y"}' \
--header 'Authorization: Basic ********' \
--data '{
"jm_work_order": [
{
"wo_no_seq": {
"wo_no_seq": "+1"
},
"wo_desc": "Match2006",
"wo_begin_dt": "2026-08-22T10:00:00.000Z",
"wo_end_dt": "2026-08-22T16:00:00.000Z",
"wo_template_no": {
"wo_template_no": 1050
},
"wo_type_no": {
"wo_type_no": 3275
},
"phase_code": {
"phase_code": "Hold"
},
"rate_card_no": {
"rate_card_no": 1
},
"cust_id": {
"cust_id": "1157"
}
}
]
}'SaveArgument : {"LoadTemplate":"2"}SaveArgument: {"LoadTemplate":"1012","LoadChildTemplates":"Y"}curl --location 'http://{APIbaseURL}/JmWorkOrder' \
--header 'Content-Type: application/json' \
--header 'SaveArgument: {"LoadTemplate":"15"}' \
--header 'Authorization: Basic ••••••' \
--data '{
"jm_work_order": [
{
"wo_desc": "100m Finals",
"wo_begin_dt": "2024-08-22T10:00:00.000Z",
"wo_end_dt": "2024-08-22T16:00:00.000Z",
"wo_type_no": 17,
"phase_code": "RQST",
"rate_card_no": 1,
"cust_id": 27,
"wo_template_no": 15
}
]
}'SaveArgument : {"LoadServiceTemplate":"10"}"service_template_no":10SaveArgument : {"LoadServiceTemplate":"10","11"}SaveArgument: {"VoidWorkOrder":"36914-1"}curl --location --request PATCH 'http://{APIbaseURL}/JmWorkOrder/wo_no_seq=2626-1' \
--header 'Content-Type: application/json' \
--header 'SaveArgument: {"VoidWorkOrder":"2626-1"}' \
--header 'Authorization: Basic ••••••' \
--data '[
{
"op": "replace",
"path": "cancel_no",
"value": 1
}
]'SaveArgument : {"UnVoidWorkOrder":"1067982-1"}curl --location --request PATCH 'http://{APIbaseURL}/JmWorkOrder/wo_no_seq=1067982-1' \
--header 'SaveArgument: {"UnVoidWorkOrder":"1067982-1"}' \
--header 'Content-Type: application/json-patch+json' \
--header 'Authorization: ••••••' \
--data ''saveArgument : { "ActualizeSelected":"38521,38522", "ActualizeUpdatePhase":"Y"}saveArgument : { "ActualizeAll":"-2", "ActualizeUpdatePhase":"Y"}
SaveArgument : { "ActualizeSelected":"-2,200003,200004", "ActuallizeUpdatePhase":"Y"}curl --location 'http://{APIbaseURL}/JmActual/' \
--header 'Content-Type: application/json' \
--header 'SaveArgument: { "ActualizeSelected":"1259520", "ActualizeUpdatePhase":"Y"}' \
--header 'Authorization: ••••••' \
--data '{
"jm_actual_header": [
{
"actual_hdr_no": {
"actual_hdr_no": -1
},
"wo_no": 9453,
"wo_seq": 1,
"wo_no_seq": {
"wo_no_seq": "1075881-1"
},
"actual_status": "Y",
"jm_actual_detail": [
{
"actual_hdr_no": -1,
"actual_det_no": -2,
"action_code": {
"action_code": "I"
},
"actual_unit": 4,
"actual": "Y"
}
],
"jm_actual_link": [
{
"actual_link_no": -3,
"actual_det_no": -2,
"trx_no": 1259520
}
]
}
]
}'saveArgument : {"Post":""}curl --location --request PATCH '/TcBatch/batch_no=7572' \
--header 'Content-Type: application/json-patch+json' \
--header 'saveArgument: {"Post":""}' \
--header 'Authorization: Basic aHR0cDovL2RldndjdW1wYXBwMjoxMTAwMC9hcGkvdjIvZGF0YWJhc2UvWFlUX01BSU5fVjp4eXRlY2hwdw==' \
--data '{
"tc_batch": [
{
"batch_no": {
"batch_no": "7572"
}
}
]
}'SaveArgument : {"GroupCode":"UKPS"}curl --location --request PATCH 'http://{APIbaseURL}/SchResource/resource_code=3' \
--header 'Content-Type: application/json-patch+json' \
--header 'SaveArgument: {"GroupCode":"TRX"}' \
--header 'Authorization: Basic ••••••' \
--data ''SaveArgument : {"BidApproval":"0"}curl --location --request PATCH 'http://{APIbaseURL}/BidVersion/version_no=211' \
--header 'Content-Type: application/json' \
--header 'SaveArgument: {"BidApproval":"0"}' \
--header 'Authorization: Basic ••••••' \
--data '[
{
"op": "replace",
"path": "approved",
"value": "Y"
}
]'SaveArgument : {"LoadServiceTemplate":"10","LoadTemplate":"2"}
curl --location --globoff 'http://{APIbaseURL}/LibMasterList?resultcolumns={"L": ["master_no", "master_desc", "date_added","desc_3"]}&query={"title_no":{"$gt": 1102}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic ******' \
--data ''{
"jm_work_order": [
{
"mo_service_row": [
{
"service_row_no": {
"external_key": null,
"service_row_no": 9933
}
},
{
"service_row_no": {
"external_key": null,
"service_row_no": 9934
}
}
],
"wo_desc": "WS Transmission Test"
}
]
}GET {APIbaseURL}/JmOrgProductList?query={"active":"Y"}&resultColumns={"L":["product_no","product_desc"]}&sort=["product_no desc"]&pageSize=10&page=1GET {APIbaseURL}/JmJobList?query={"job_no":{"$range":[1,67982]}}&resultcolumns={"L": ["job_no", "job_desc"]}&pageSize=5&page=7&sort=["job_desc desc", "job_no desc"]{
"L": [
{
"barcode": "MM915",
"company_name": null,
"cust_id": null,
"master_desc": null,
"master_no": {
"barcode": "MM915",
"external_key": "VX-90",
"master_no": 915,
"umid": null
...{
"L": [
{
"barcode": "MM915",
"master_no": {
"barcode": "MM915",
"external_key": "VX-90",
"master_no": 915
...{
"L": [
{
"barcode": "MM915",
"company_name": null,
"cust_id": null,
"master_desc": null,
"master_no": {
"barcode": "MM915",
"external_key": "VX-90",
"master_no": 915,
"umid": null
...{
"L": [
{
"barcode": "MM915",
"company_name": null,
"cust_id": null,
"master_desc": null,
"master_no": {
"master_no": 915
...