Skip to content

Instantly share code, notes, and snippets.

@KuroNoDev
Last active February 15, 2018 07:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KuroNoDev/291d5c269af2be05296843d877263560 to your computer and use it in GitHub Desktop.
Save KuroNoDev/291d5c269af2be05296843d877263560 to your computer and use it in GitHub Desktop.
owens2.json
{
"swagger": "2.0",
"info": {
"version": "1.0-SNAPSHOT",
"title": "OWENS - ACCIONDATA INTEGRATION API",
"contact": {
},
"license": {
"name": "W3C"
}
},
"host": "integrate-demo.toro.io",
"basePath": "/api/integration",
"schemes": [
"https"
],
"paths": {
"/sendordernasobranghabababababababababababababababababababababa": {
"post": {
"tags": [
],
"operationId": "owensIntegration.partA.acciodata.receiveOrder",
"consumes": [
"text/xml"
],
"produces": [
"application/xml"
],
"parameters": [
{
"in": "body",
"name": "accioOrder",
"required": true,
"schema": {
"$ref": "#/definitions/owensIntegration.partA.model.acciodataCaseOrder"
}
}
],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/owensIntegration.partA.model.response200"
}
}
}
}
}
},
"definitions": {
"owensIntegration.partA.model.acciodataCaseOrder": {
"properties": {
"login": {
"type": "object",
"properties": {
"password": {
"type": "string"
},
"account": {
"type": "string"
},
"username": {
"type": "string"
}
}
},
"mode": {
"type": "string"
},
"ordercount": {
"type": "object",
"properties": {
"number": {
"type": "string",
"xml": {
"attribute": true
}
}
}
},
"placeOrder": {
"type": "object",
"properties": {
"number": {
"type": "string",
"xml": {
"attribute": true
}
},
"subject": {
"type": "object",
"properties": {
"admitted_conviction_details": {
"type": "object"
},
"country": {
"type": "string"
},
"clientspecific_File_Key": {
"type": "object"
},
"has_no_middle_name": {
"type": "string"
},
"managerName": {
"type": "object"
},
"client_notes": {
"type": "object"
},
"ssn": {
"type": "string"
},
"client_disposition": {
"type": "object"
},
"drugscreen": {
"type": "object"
},
"quoteback_1": {
"type": "object"
},
"name_lastmaiden": {
"type": "object"
},
"intlgovtid": {
"type": "string"
},
"intlgovtid_descr": {
"type": "string"
},
"quoteback_3": {
"type": "object"
},
"state": {
"type": "string"
},
"quoteback_2": {
"type": "object"
},
"applicant_type": {
"type": "string"
},
"passport_type": {
"type": "string"
},
"zip": {
"type": "string"
},
"jobstate": {
"type": "string"
},
"state_of_birth": {
"type": "string"
},
"citizenship_status": {
"type": "string"
},
"name_complete_mother": {
"type": "string"
},
"tax_id_number": {
"type": "object"
},
"rent_monthly": {
"type": "string"
},
"fax_number": {
"type": "object"
},
"intldlstate": {
"type": "string"
},
"hair_color": {
"type": "object"
},
"client_reportcolor": {
"type": "object"
},
"name_middle": {
"type": "string"
},
"months_at_current_residence": {
"type": "string"
},
"signatureDate": {
"type": "object"
},
"dob": {
"type": "string",
"format": "date"
},
"years_at_current_residence": {
"type": "string"
},
"FCRAPurpose": {
"type": "string"
},
"signatureText": {
"type": "object"
},
"dlexpiration": {
"type": "object"
},
"gender": {
"type": "string"
},
"city": {
"type": "string"
},
"customLabels": {
"type": "object",
"properties": {
"label": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"label": {
"type": "string"
}
}
}
}
}
},
"payments_monthly": {
"type": "object"
},
"dlstate": {
"type": "object"
},
"dlnum": {
"type": "string"
},
"name_last": {
"type": "string"
},
"RequisitionNumber": {
"type": "object"
},
"has_admitted_convictions": {
"type": "object"
},
"name_complete_father": {
"type": "string"
},
"eye_color": {
"type": "object"
},
"country_of_birth": {
"type": "string"
},
"passport_country": {
"type": "string"
},
"alias": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name_middle": {
"type": "string"
},
"name_first": {
"type": "string"
},
"name_suffix": {
"type": "string"
},
"name_last": {
"type": "string"
}
}
}
},
"employment_status": {
"type": "object"
},
"income_monthly": {
"type": "string"
},
"dlcountry": {
"type": "string"
},
"name_first": {
"type": "string"
},
"address": {
"type": "string"
},
"jobtitle": {
"type": "string"
},
"race": {
"type": "string"
},
"name_suffix": {
"type": "object"
},
"name_mother_maiden": {
"type": "string"
},
"ApplicantID": {
"type": "object"
},
"passport_number": {
"type": "string"
},
"position_requested": {
"type": "object"
},
"city_of_birth": {
"type": "string"
}
},
"required": [
"ApplicantID",
"RequisitionNumber",
"admitted_conviction_details",
"client_disposition",
"client_notes",
"client_reportcolor",
"clientspecific_File_Key",
"dlexpiration",
"dlstate",
"drugscreen",
"employment_status",
"eye_color",
"fax_number",
"hair_color",
"has_admitted_convictions",
"managerName",
"name_lastmaiden",
"name_suffix",
"payments_monthly",
"position_requested",
"quoteback_1",
"quoteback_2",
"quoteback_3",
"signatureDate",
"signatureText",
"tax_id_number"
]
},
"subOrder": {
"type": "object",
"properties": {
"country": {
"type": "string"
},
"city": {
"type": "string"
},
"school_type": {
"type": "string"
},
"levelCompleted": {
"type": "object"
},
"type": {
"type": "string",
"xml": {
"attribute": true
}
},
"name_last": {
"type": "string"
},
"number": {
"type": "string",
"xml": {
"attribute": true
}
},
"transcript": {
"type": "string"
},
"major": {
"type": "string"
},
"intlgovtid_descr": {
"type": "string"
},
"intlgovtid": {
"type": "string"
},
"attended_to": {
"type": "string",
"format": "date"
},
"state": {
"type": "string"
},
"fax": {
"type": "string"
},
"intlzip": {
"type": "string"
},
"roll_number": {
"type": "string"
},
"email": {
"type": "string"
},
"graduation_date": {
"type": "string",
"format": "date"
},
"name_first": {
"type": "string"
},
"comments": {
"type": "string"
},
"student_id_number": {
"type": "string"
},
"question": {
"type": "array",
"items": {
"type": "object",
"properties": {
"standardresponse": {
"type": "array",
"items": {
"type": "string"
}
},
"prompt": {
"type": "string"
}
}
}
},
"address2": {
"type": "string"
},
"campus": {
"type": "string"
},
"address1": {
"type": "string"
},
"degree": {
"type": "string"
},
"school_name": {
"type": "string"
},
"currently_enrolled": {
"type": "string"
},
"highest_achieved": {
"type": "string"
},
"url": {
"type": "string"
},
"intlstate": {
"type": "object"
},
"attended_from": {
"type": "string",
"format": "date"
},
"graduated": {
"type": "string"
},
"GPA": {
"type": "string"
}
},
"required": [
"intlstate",
"levelCompleted"
]
}
}
}
}
},
"owensIntegration.partA.model.response200": {
"properties": {
"order": {
"type": "object",
"properties": {
"number": {
"type": "string",
"xml": {
"attribute": true
}
},
"orderID": {
"type": "string",
"xml": {
"attribute": true
}
},
"subOrder": {
"type": "object",
"properties": {
"number": {
"type": "string",
"xml": {
"attribute": true
}
},
"type": {
"type": "string",
"xml": {
"attribute": true
}
},
"suborderID": {
"type": "string",
"xml": {
"attribute": true
}
}
}
}
}
},
"error": {
"type": "object",
"properties": {
"errortext": {
"type": "string"
},
"additionalinfo": {
"type": "string"
},
"n": {
"type": "string",
"xml": {
"attribute": true
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment