swagger.json 302 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "新的查询服务,替代原通用查询服务。",
  5. "title": "MTP2.0 查询服务 API",
  6. "termsOfService": "http://muchinfo.cn",
  7. "contact": {},
  8. "version": "1.0"
  9. },
  10. "basePath": "/api",
  11. "paths": {
  12. "/CPTrade/QueryCPTradeMyBidInfos": {
  13. "get": {
  14. "security": [
  15. {
  16. "ApiKeyAuth": []
  17. }
  18. ],
  19. "produces": [
  20. "application/json"
  21. ],
  22. "tags": [
  23. "产能预售"
  24. ],
  25. "summary": "查询产能预售我的出价信息",
  26. "parameters": [
  27. {
  28. "type": "integer",
  29. "description": "资金账户",
  30. "name": "accountid",
  31. "in": "query",
  32. "required": true
  33. },
  34. {
  35. "type": "integer",
  36. "description": "预售市场ID",
  37. "name": "marketid",
  38. "in": "query"
  39. },
  40. {
  41. "type": "integer",
  42. "description": "预售商品ID",
  43. "name": "goodsid",
  44. "in": "query"
  45. }
  46. ],
  47. "responses": {
  48. "200": {
  49. "description": "OK",
  50. "schema": {
  51. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  52. }
  53. },
  54. "500": {
  55. "description": "Internal Server Error",
  56. "schema": {
  57. "$ref": "#/definitions/app.Response"
  58. }
  59. }
  60. }
  61. }
  62. },
  63. "/CPTrade/QueryCPTradeOrderDetail": {
  64. "get": {
  65. "security": [
  66. {
  67. "ApiKeyAuth": []
  68. }
  69. ],
  70. "produces": [
  71. "application/json"
  72. ],
  73. "tags": [
  74. "产能预售"
  75. ],
  76. "summary": "查询产能预售委托单信息",
  77. "parameters": [
  78. {
  79. "type": "integer",
  80. "description": "预售商品ID",
  81. "name": "goodsid",
  82. "in": "query"
  83. },
  84. {
  85. "type": "integer",
  86. "description": "预售市场ID",
  87. "name": "marketid",
  88. "in": "query"
  89. },
  90. {
  91. "type": "string",
  92. "description": "预售商品ID列表 - 格式:1,2,3",
  93. "name": "goodsids",
  94. "in": "query"
  95. }
  96. ],
  97. "responses": {
  98. "200": {
  99. "description": "OK",
  100. "schema": {
  101. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  102. }
  103. },
  104. "500": {
  105. "description": "Internal Server Error",
  106. "schema": {
  107. "$ref": "#/definitions/app.Response"
  108. }
  109. }
  110. }
  111. }
  112. },
  113. "/CPTrade/QueryMyCPTradeGoods": {
  114. "get": {
  115. "security": [
  116. {
  117. "ApiKeyAuth": []
  118. }
  119. ],
  120. "produces": [
  121. "application/json"
  122. ],
  123. "tags": [
  124. "产能预售"
  125. ],
  126. "summary": "查询我的预售信息",
  127. "parameters": [
  128. {
  129. "type": "integer",
  130. "description": "资金账户",
  131. "name": "accountid",
  132. "in": "query",
  133. "required": true
  134. }
  135. ],
  136. "responses": {
  137. "200": {
  138. "description": "OK",
  139. "schema": {
  140. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  141. }
  142. },
  143. "500": {
  144. "description": "Internal Server Error",
  145. "schema": {
  146. "$ref": "#/definitions/app.Response"
  147. }
  148. }
  149. }
  150. }
  151. },
  152. "/CPTrade/QueryPositionCancel": {
  153. "get": {
  154. "security": [
  155. {
  156. "ApiKeyAuth": []
  157. }
  158. ],
  159. "produces": [
  160. "application/json"
  161. ],
  162. "tags": [
  163. "产能预售"
  164. ],
  165. "summary": "查询远期订单注销申请信息",
  166. "parameters": [
  167. {
  168. "type": "integer",
  169. "description": "账户ID",
  170. "name": "userid",
  171. "in": "query",
  172. "required": true
  173. },
  174. {
  175. "type": "integer",
  176. "description": "注销ID",
  177. "name": "cancelid",
  178. "in": "query"
  179. },
  180. {
  181. "type": "integer",
  182. "description": "资金账户ID",
  183. "name": "accountid",
  184. "in": "query"
  185. }
  186. ],
  187. "responses": {
  188. "200": {
  189. "description": "OK",
  190. "schema": {
  191. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  192. }
  193. },
  194. "500": {
  195. "description": "Internal Server Error",
  196. "schema": {
  197. "$ref": "#/definitions/app.Response"
  198. }
  199. }
  200. }
  201. }
  202. },
  203. "/CPTrade/QueryPreasleApply": {
  204. "get": {
  205. "security": [
  206. {
  207. "ApiKeyAuth": []
  208. }
  209. ],
  210. "produces": [
  211. "application/json"
  212. ],
  213. "tags": [
  214. "产能预售"
  215. ],
  216. "summary": "查询产能预售申请信息",
  217. "parameters": [
  218. {
  219. "type": "integer",
  220. "description": "账户ID",
  221. "name": "userid",
  222. "in": "query",
  223. "required": true
  224. },
  225. {
  226. "type": "integer",
  227. "description": "申请ID",
  228. "name": "applyid",
  229. "in": "query"
  230. },
  231. {
  232. "type": "integer",
  233. "description": "资金账户ID",
  234. "name": "accountid",
  235. "in": "query"
  236. }
  237. ],
  238. "responses": {
  239. "200": {
  240. "description": "OK",
  241. "schema": {
  242. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  243. }
  244. },
  245. "500": {
  246. "description": "Internal Server Error",
  247. "schema": {
  248. "$ref": "#/definitions/app.Response"
  249. }
  250. }
  251. }
  252. }
  253. },
  254. "/CPTrade/QueryPresaleGoodsEx": {
  255. "get": {
  256. "security": [
  257. {
  258. "ApiKeyAuth": []
  259. }
  260. ],
  261. "produces": [
  262. "application/json"
  263. ],
  264. "tags": [
  265. "产能预售"
  266. ],
  267. "summary": "查询产能预售商品扩展信息",
  268. "parameters": [
  269. {
  270. "type": "integer",
  271. "description": "预售商品ID",
  272. "name": "goodsid",
  273. "in": "query"
  274. },
  275. {
  276. "type": "integer",
  277. "description": "预售市场ID",
  278. "name": "marketid",
  279. "in": "query"
  280. },
  281. {
  282. "type": "integer",
  283. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  284. "name": "presalemode",
  285. "in": "query"
  286. },
  287. {
  288. "type": "string",
  289. "description": "预售商品ID列表 - 格式:1,2,3",
  290. "name": "goodsids",
  291. "in": "query"
  292. },
  293. {
  294. "type": "string",
  295. "description": "预售商品代码",
  296. "name": "goodscode",
  297. "in": "query"
  298. }
  299. ],
  300. "responses": {
  301. "200": {
  302. "description": "OK",
  303. "schema": {
  304. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  305. }
  306. },
  307. "500": {
  308. "description": "Internal Server Error",
  309. "schema": {
  310. "$ref": "#/definitions/app.Response"
  311. }
  312. }
  313. }
  314. }
  315. },
  316. "/CPTrade/QueryUserGoodsData": {
  317. "get": {
  318. "security": [
  319. {
  320. "ApiKeyAuth": []
  321. }
  322. ],
  323. "produces": [
  324. "application/json"
  325. ],
  326. "tags": [
  327. "产能预售"
  328. ],
  329. "summary": "查询远期订单信息",
  330. "parameters": [
  331. {
  332. "type": "integer",
  333. "description": "资金账户ID",
  334. "name": "accountid",
  335. "in": "query",
  336. "required": true
  337. }
  338. ],
  339. "responses": {
  340. "200": {
  341. "description": "OK",
  342. "schema": {
  343. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  344. }
  345. },
  346. "500": {
  347. "description": "Internal Server Error",
  348. "schema": {
  349. "$ref": "#/definitions/app.Response"
  350. }
  351. }
  352. }
  353. }
  354. },
  355. "/Common/NoticeReaded": {
  356. "post": {
  357. "security": [
  358. {
  359. "ApiKeyAuth": []
  360. }
  361. ],
  362. "produces": [
  363. "application/json"
  364. ],
  365. "tags": [
  366. "通用服务"
  367. ],
  368. "summary": "通知公告设置已读请求",
  369. "parameters": [
  370. {
  371. "type": "integer",
  372. "description": "登录账号",
  373. "name": "loginID",
  374. "in": "query",
  375. "required": true
  376. },
  377. {
  378. "type": "integer",
  379. "description": "通知公告ID",
  380. "name": "noticeID",
  381. "in": "query",
  382. "required": true
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/app.Response"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/QueryImageConfigs": {
  402. "get": {
  403. "produces": [
  404. "application/json"
  405. ],
  406. "tags": [
  407. "通用服务"
  408. ],
  409. "summary": "查询轮播图配置信息",
  410. "parameters": [
  411. {
  412. "type": "integer",
  413. "description": "类型 - 1:App首页轮播 2:我的",
  414. "name": "imageType",
  415. "in": "query"
  416. }
  417. ],
  418. "responses": {
  419. "200": {
  420. "description": "OK",
  421. "schema": {
  422. "$ref": "#/definitions/models.Szdz2imageconfig"
  423. }
  424. },
  425. "500": {
  426. "description": "Internal Server Error",
  427. "schema": {
  428. "$ref": "#/definitions/app.Response"
  429. }
  430. }
  431. }
  432. }
  433. },
  434. "/Common/QueryNotice": {
  435. "get": {
  436. "security": [
  437. {
  438. "ApiKeyAuth": []
  439. }
  440. ],
  441. "produces": [
  442. "application/json"
  443. ],
  444. "tags": [
  445. "通用服务"
  446. ],
  447. "summary": "通知公告系统消息查询",
  448. "parameters": [
  449. {
  450. "type": "integer",
  451. "description": "页码",
  452. "name": "page",
  453. "in": "query"
  454. },
  455. {
  456. "type": "integer",
  457. "description": "每页条数",
  458. "name": "pagesize",
  459. "in": "query"
  460. },
  461. {
  462. "type": "integer",
  463. "description": "登录账号",
  464. "name": "loginID",
  465. "in": "query",
  466. "required": true
  467. },
  468. {
  469. "type": "integer",
  470. "description": "消息类型 - 1:公告通知 2:系统消息",
  471. "name": "msgType",
  472. "in": "query"
  473. },
  474. {
  475. "type": "boolean",
  476. "description": "是否只获取未读信息",
  477. "name": "onlyUnRead",
  478. "in": "query"
  479. }
  480. ],
  481. "responses": {
  482. "200": {
  483. "description": "OK",
  484. "schema": {
  485. "$ref": "#/definitions/common.QueryNoticeRsp"
  486. }
  487. },
  488. "500": {
  489. "description": "Internal Server Error",
  490. "schema": {
  491. "$ref": "#/definitions/app.Response"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/Common/QueryProvincesAndCities": {
  498. "get": {
  499. "produces": [
  500. "application/json"
  501. ],
  502. "tags": [
  503. "通用服务"
  504. ],
  505. "summary": "查询省市信息(不包括区)",
  506. "parameters": [
  507. {
  508. "type": "integer",
  509. "description": "省ID",
  510. "name": "provinceID",
  511. "in": "query"
  512. }
  513. ],
  514. "responses": {
  515. "200": {
  516. "description": "OK",
  517. "schema": {
  518. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  519. }
  520. },
  521. "500": {
  522. "description": "Internal Server Error",
  523. "schema": {
  524. "$ref": "#/definitions/app.Response"
  525. }
  526. }
  527. }
  528. }
  529. },
  530. "/Common/QueryTableDefine": {
  531. "get": {
  532. "produces": [
  533. "application/json"
  534. ],
  535. "tags": [
  536. "通用服务"
  537. ],
  538. "summary": "查询交易端列表头信息",
  539. "parameters": [
  540. {
  541. "type": "string",
  542. "description": "表key",
  543. "name": "TableKey",
  544. "in": "query"
  545. }
  546. ],
  547. "responses": {
  548. "200": {
  549. "description": "OK",
  550. "schema": {
  551. "$ref": "#/definitions/common.QueryTableDefineRsp"
  552. }
  553. },
  554. "500": {
  555. "description": "Internal Server Error",
  556. "schema": {
  557. "$ref": "#/definitions/app.Response"
  558. }
  559. }
  560. }
  561. }
  562. },
  563. "/Common/QueryTraderMenu": {
  564. "get": {
  565. "produces": [
  566. "application/json"
  567. ],
  568. "tags": [
  569. "通用服务"
  570. ],
  571. "summary": "查询交易端菜单",
  572. "parameters": [
  573. {
  574. "type": "integer",
  575. "description": "登录账号",
  576. "name": "loginid",
  577. "in": "query",
  578. "required": true
  579. }
  580. ],
  581. "responses": {
  582. "200": {
  583. "description": "OK",
  584. "schema": {
  585. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  586. }
  587. },
  588. "500": {
  589. "description": "Internal Server Error",
  590. "schema": {
  591. "$ref": "#/definitions/app.Response"
  592. }
  593. }
  594. }
  595. }
  596. },
  597. "/Delivery/QueryDeliveryRelation": {
  598. "get": {
  599. "security": [
  600. {
  601. "ApiKeyAuth": []
  602. }
  603. ],
  604. "produces": [
  605. "application/json"
  606. ],
  607. "tags": [
  608. "交割服务"
  609. ],
  610. "summary": "查询商品交割关系表",
  611. "parameters": [
  612. {
  613. "type": "integer",
  614. "description": "商品ID",
  615. "name": "goodsid",
  616. "in": "query"
  617. },
  618. {
  619. "type": "integer",
  620. "description": "品种ID",
  621. "name": "deliverygoodsid",
  622. "in": "query"
  623. },
  624. {
  625. "type": "integer",
  626. "description": "市场ID",
  627. "name": "marketid",
  628. "in": "query"
  629. }
  630. ],
  631. "responses": {
  632. "200": {
  633. "description": "OK",
  634. "schema": {
  635. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  636. }
  637. },
  638. "500": {
  639. "description": "Internal Server Error",
  640. "schema": {
  641. "$ref": "#/definitions/app.Response"
  642. }
  643. }
  644. }
  645. }
  646. },
  647. "/Erms2/QueryArbitrageStrategy": {
  648. "get": {
  649. "security": [
  650. {
  651. "ApiKeyAuth": []
  652. }
  653. ],
  654. "produces": [
  655. "application/json"
  656. ],
  657. "tags": [
  658. "风险管理"
  659. ],
  660. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  661. "parameters": [
  662. {
  663. "type": "integer",
  664. "description": "账户ID",
  665. "name": "userid",
  666. "in": "query",
  667. "required": true
  668. },
  669. {
  670. "type": "string",
  671. "description": "商品组ID(品种ID)",
  672. "name": "goodsgroupid",
  673. "in": "query"
  674. }
  675. ],
  676. "responses": {
  677. "200": {
  678. "description": "OK",
  679. "schema": {
  680. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  681. }
  682. },
  683. "500": {
  684. "description": "Internal Server Error",
  685. "schema": {
  686. "$ref": "#/definitions/app.Response"
  687. }
  688. }
  689. }
  690. }
  691. },
  692. "/Erms2/QueryInnerTradeDetail": {
  693. "get": {
  694. "security": [
  695. {
  696. "ApiKeyAuth": []
  697. }
  698. ],
  699. "produces": [
  700. "application/json"
  701. ],
  702. "tags": [
  703. "风险管理"
  704. ],
  705. "summary": "查询内部成交单信息",
  706. "parameters": [
  707. {
  708. "type": "integer",
  709. "description": "资金账户",
  710. "name": "accountid",
  711. "in": "query",
  712. "required": true
  713. }
  714. ],
  715. "responses": {
  716. "200": {
  717. "description": "OK",
  718. "schema": {
  719. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  720. }
  721. },
  722. "500": {
  723. "description": "Internal Server Error",
  724. "schema": {
  725. "$ref": "#/definitions/app.Response"
  726. }
  727. }
  728. }
  729. }
  730. },
  731. "/Erms2/QuerySpotContract": {
  732. "get": {
  733. "security": [
  734. {
  735. "ApiKeyAuth": []
  736. }
  737. ],
  738. "produces": [
  739. "application/json"
  740. ],
  741. "tags": [
  742. "风险管理"
  743. ],
  744. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  745. "parameters": [
  746. {
  747. "type": "integer",
  748. "description": "策略申请ID",
  749. "name": "asapplyid",
  750. "in": "query",
  751. "required": true
  752. },
  753. {
  754. "type": "integer",
  755. "description": "现货合同ID",
  756. "name": "spotcontractid",
  757. "in": "query"
  758. }
  759. ],
  760. "responses": {
  761. "200": {
  762. "description": "OK",
  763. "schema": {
  764. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  765. }
  766. },
  767. "500": {
  768. "description": "Internal Server Error",
  769. "schema": {
  770. "$ref": "#/definitions/app.Response"
  771. }
  772. }
  773. }
  774. }
  775. },
  776. "/Erms3/AddSpotContractApply": {
  777. "post": {
  778. "security": [
  779. {
  780. "ApiKeyAuth": []
  781. }
  782. ],
  783. "produces": [
  784. "application/json"
  785. ],
  786. "tags": [
  787. "风险管理v3"
  788. ],
  789. "summary": "新增现货合同申请",
  790. "parameters": [
  791. {
  792. "description": "申请参数",
  793. "name": "jsonBody",
  794. "in": "body",
  795. "required": true,
  796. "schema": {
  797. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  798. }
  799. }
  800. ],
  801. "responses": {
  802. "200": {
  803. "description": "OK",
  804. "schema": {
  805. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  806. }
  807. },
  808. "500": {
  809. "description": "Internal Server Error",
  810. "schema": {
  811. "$ref": "#/definitions/app.Response"
  812. }
  813. }
  814. }
  815. }
  816. },
  817. "/Erms3/QuerySpotContractAppleForm": {
  818. "get": {
  819. "security": [
  820. {
  821. "ApiKeyAuth": []
  822. }
  823. ],
  824. "produces": [
  825. "application/json"
  826. ],
  827. "tags": [
  828. "风险管理v3"
  829. ],
  830. "summary": "查询合同申请表单数据",
  831. "parameters": [
  832. {
  833. "type": "integer",
  834. "description": "用户ID",
  835. "name": "userID",
  836. "in": "query",
  837. "required": true
  838. }
  839. ],
  840. "responses": {
  841. "200": {
  842. "description": "OK",
  843. "schema": {
  844. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  845. }
  846. },
  847. "500": {
  848. "description": "Internal Server Error",
  849. "schema": {
  850. "$ref": "#/definitions/app.Response"
  851. }
  852. }
  853. }
  854. }
  855. },
  856. "/HSBY/GetHsbyMyCount": {
  857. "get": {
  858. "security": [
  859. {
  860. "ApiKeyAuth": []
  861. }
  862. ],
  863. "description": "说明: 不包括已完成的数量。",
  864. "produces": [
  865. "application/json"
  866. ],
  867. "tags": [
  868. "定制【海商报业】"
  869. ],
  870. "summary": "获取我的订单与包裹数量",
  871. "parameters": [
  872. {
  873. "type": "string",
  874. "description": "资金账户列表,格式:1,2,3",
  875. "name": "accountIDs",
  876. "in": "query",
  877. "required": true
  878. }
  879. ],
  880. "responses": {
  881. "200": {
  882. "description": "OK",
  883. "schema": {
  884. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  885. }
  886. },
  887. "500": {
  888. "description": "Internal Server Error",
  889. "schema": {
  890. "$ref": "#/definitions/app.Response"
  891. }
  892. }
  893. }
  894. }
  895. },
  896. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  897. "get": {
  898. "security": [
  899. {
  900. "ApiKeyAuth": []
  901. }
  902. ],
  903. "produces": [
  904. "application/json"
  905. ],
  906. "tags": [
  907. "定制【海商报业】"
  908. ],
  909. "summary": "查询\"我的订单 - 已完成\"单据信息",
  910. "parameters": [
  911. {
  912. "type": "integer",
  913. "description": "页码",
  914. "name": "page",
  915. "in": "query"
  916. },
  917. {
  918. "type": "integer",
  919. "description": "每页条数",
  920. "name": "pagesize",
  921. "in": "query"
  922. },
  923. {
  924. "type": "string",
  925. "description": "资金账户列表,格式:1,2,3",
  926. "name": "accountIDs",
  927. "in": "query",
  928. "required": true
  929. }
  930. ],
  931. "responses": {
  932. "200": {
  933. "description": "OK",
  934. "schema": {
  935. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  936. }
  937. },
  938. "500": {
  939. "description": "Internal Server Error",
  940. "schema": {
  941. "$ref": "#/definitions/app.Response"
  942. }
  943. }
  944. }
  945. }
  946. },
  947. "/HSBY/QueryHsbyGoodsOrderDetails": {
  948. "get": {
  949. "security": [
  950. {
  951. "ApiKeyAuth": []
  952. }
  953. ],
  954. "description": "说明:查询结果已按委托价格和委托时间排序",
  955. "produces": [
  956. "application/json"
  957. ],
  958. "tags": [
  959. "定制【海商报业】"
  960. ],
  961. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  962. "parameters": [
  963. {
  964. "type": "integer",
  965. "description": "商品ID",
  966. "name": "goodsID",
  967. "in": "query",
  968. "required": true
  969. },
  970. {
  971. "type": "string",
  972. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  973. "name": "accountIDs",
  974. "in": "query",
  975. "required": true
  976. },
  977. {
  978. "type": "integer",
  979. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  980. "name": "buyOrSell",
  981. "in": "query"
  982. },
  983. {
  984. "type": "number",
  985. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  986. "name": "price",
  987. "in": "query"
  988. },
  989. {
  990. "type": "integer",
  991. "description": "档位,不传则默认为3档",
  992. "name": "speed",
  993. "in": "query"
  994. }
  995. ],
  996. "responses": {
  997. "200": {
  998. "description": "OK",
  999. "schema": {
  1000. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1001. }
  1002. },
  1003. "500": {
  1004. "description": "Internal Server Error",
  1005. "schema": {
  1006. "$ref": "#/definitions/app.Response"
  1007. }
  1008. }
  1009. }
  1010. }
  1011. },
  1012. "/HSBY/QueryHsbyListingGoodsDetail": {
  1013. "get": {
  1014. "security": [
  1015. {
  1016. "ApiKeyAuth": []
  1017. }
  1018. ],
  1019. "produces": [
  1020. "application/json"
  1021. ],
  1022. "tags": [
  1023. "定制【海商报业】"
  1024. ],
  1025. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1026. "parameters": [
  1027. {
  1028. "type": "integer",
  1029. "description": "商品ID",
  1030. "name": "goodsID",
  1031. "in": "query",
  1032. "required": true
  1033. },
  1034. {
  1035. "type": "integer",
  1036. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1037. "name": "AccountID",
  1038. "in": "query"
  1039. }
  1040. ],
  1041. "responses": {
  1042. "200": {
  1043. "description": "OK",
  1044. "schema": {
  1045. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1046. }
  1047. },
  1048. "500": {
  1049. "description": "Internal Server Error",
  1050. "schema": {
  1051. "$ref": "#/definitions/app.Response"
  1052. }
  1053. }
  1054. }
  1055. }
  1056. },
  1057. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  1058. "get": {
  1059. "security": [
  1060. {
  1061. "ApiKeyAuth": []
  1062. }
  1063. ],
  1064. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  1065. "produces": [
  1066. "application/json"
  1067. ],
  1068. "tags": [
  1069. "定制【海商报业】"
  1070. ],
  1071. "summary": "查询“我的订单”信息",
  1072. "parameters": [
  1073. {
  1074. "type": "string",
  1075. "description": "资金账户列表,格式:1,2,3",
  1076. "name": "accountIDs",
  1077. "in": "query",
  1078. "required": true
  1079. },
  1080. {
  1081. "type": "integer",
  1082. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  1083. "name": "myBuyStatus",
  1084. "in": "query"
  1085. }
  1086. ],
  1087. "responses": {
  1088. "200": {
  1089. "description": "OK",
  1090. "schema": {
  1091. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  1092. }
  1093. },
  1094. "500": {
  1095. "description": "Internal Server Error",
  1096. "schema": {
  1097. "$ref": "#/definitions/app.Response"
  1098. }
  1099. }
  1100. }
  1101. }
  1102. },
  1103. "/HSBY/QueryHsbyMyGoods": {
  1104. "get": {
  1105. "security": [
  1106. {
  1107. "ApiKeyAuth": []
  1108. }
  1109. ],
  1110. "produces": [
  1111. "application/json"
  1112. ],
  1113. "tags": [
  1114. "定制【海商报业】"
  1115. ],
  1116. "summary": "查询“我的商品”信息",
  1117. "parameters": [
  1118. {
  1119. "type": "string",
  1120. "description": "资金账户列表,格式:1,2,3",
  1121. "name": "accountIDs",
  1122. "in": "query",
  1123. "required": true
  1124. }
  1125. ],
  1126. "responses": {
  1127. "200": {
  1128. "description": "OK",
  1129. "schema": {
  1130. "$ref": "#/definitions/models.HsbyMyGoods"
  1131. }
  1132. },
  1133. "500": {
  1134. "description": "Internal Server Error",
  1135. "schema": {
  1136. "$ref": "#/definitions/app.Response"
  1137. }
  1138. }
  1139. }
  1140. }
  1141. },
  1142. "/HSBY/QueryHsbyMyPackages": {
  1143. "get": {
  1144. "security": [
  1145. {
  1146. "ApiKeyAuth": []
  1147. }
  1148. ],
  1149. "produces": [
  1150. "application/json"
  1151. ],
  1152. "tags": [
  1153. "定制【海商报业】"
  1154. ],
  1155. "summary": "查询我的包裹信息",
  1156. "parameters": [
  1157. {
  1158. "type": "string",
  1159. "description": "资金账户列表,格式:1,2,3",
  1160. "name": "accountIDs",
  1161. "in": "query",
  1162. "required": true
  1163. },
  1164. {
  1165. "type": "integer",
  1166. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  1167. "name": "takeOrderStatus",
  1168. "in": "query"
  1169. }
  1170. ],
  1171. "responses": {
  1172. "200": {
  1173. "description": "OK",
  1174. "schema": {
  1175. "$ref": "#/definitions/models.HsbyMyPackage"
  1176. }
  1177. },
  1178. "500": {
  1179. "description": "Internal Server Error",
  1180. "schema": {
  1181. "$ref": "#/definitions/app.Response"
  1182. }
  1183. }
  1184. }
  1185. }
  1186. },
  1187. "/HSBY/QueryHsbyPreGoodsDetail": {
  1188. "get": {
  1189. "security": [
  1190. {
  1191. "ApiKeyAuth": []
  1192. }
  1193. ],
  1194. "produces": [
  1195. "application/json"
  1196. ],
  1197. "tags": [
  1198. "定制【海商报业】"
  1199. ],
  1200. "summary": "查询一级市场(产能预售)商品信息详情",
  1201. "parameters": [
  1202. {
  1203. "type": "integer",
  1204. "description": "商品ID",
  1205. "name": "goodsID",
  1206. "in": "query",
  1207. "required": true
  1208. },
  1209. {
  1210. "type": "integer",
  1211. "description": "资金账户,主要用于获取预售商品购买上限",
  1212. "name": "accountID",
  1213. "in": "query",
  1214. "required": true
  1215. }
  1216. ],
  1217. "responses": {
  1218. "200": {
  1219. "description": "OK",
  1220. "schema": {
  1221. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  1222. }
  1223. },
  1224. "500": {
  1225. "description": "Internal Server Error",
  1226. "schema": {
  1227. "$ref": "#/definitions/app.Response"
  1228. }
  1229. }
  1230. }
  1231. }
  1232. },
  1233. "/HSBY/QueryHsbyPreGoodses": {
  1234. "get": {
  1235. "security": [
  1236. {
  1237. "ApiKeyAuth": []
  1238. }
  1239. ],
  1240. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  1241. "produces": [
  1242. "application/json"
  1243. ],
  1244. "tags": [
  1245. "定制【海商报业】"
  1246. ],
  1247. "summary": "查询新品上市商品列表(一级市场产能预售)",
  1248. "parameters": [
  1249. {
  1250. "type": "integer",
  1251. "description": "页码",
  1252. "name": "page",
  1253. "in": "query"
  1254. },
  1255. {
  1256. "type": "integer",
  1257. "description": "每页条数",
  1258. "name": "pagesize",
  1259. "in": "query"
  1260. },
  1261. {
  1262. "type": "string",
  1263. "description": "市场ID列表,格式:1,2,3",
  1264. "name": "marketIDs",
  1265. "in": "query",
  1266. "required": true
  1267. },
  1268. {
  1269. "type": "integer",
  1270. "description": "目的地(省)ID",
  1271. "name": "descProvinceID",
  1272. "in": "query"
  1273. },
  1274. {
  1275. "type": "integer",
  1276. "description": "目的地(市)ID",
  1277. "name": "descCityID",
  1278. "in": "query"
  1279. }
  1280. ],
  1281. "responses": {
  1282. "200": {
  1283. "description": "OK",
  1284. "schema": {
  1285. "$ref": "#/definitions/models.HsbyPreGoods"
  1286. }
  1287. },
  1288. "500": {
  1289. "description": "Internal Server Error",
  1290. "schema": {
  1291. "$ref": "#/definitions/app.Response"
  1292. }
  1293. }
  1294. }
  1295. }
  1296. },
  1297. "/HSBY/QueryHsbySellMyDetails": {
  1298. "get": {
  1299. "security": [
  1300. {
  1301. "ApiKeyAuth": []
  1302. }
  1303. ],
  1304. "description": "说明:已发布 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  1305. "produces": [
  1306. "application/json"
  1307. ],
  1308. "tags": [
  1309. "定制【海商报业】"
  1310. ],
  1311. "summary": "查询\"我的闲置\"单据信息",
  1312. "parameters": [
  1313. {
  1314. "type": "integer",
  1315. "description": "页码",
  1316. "name": "page",
  1317. "in": "query"
  1318. },
  1319. {
  1320. "type": "integer",
  1321. "description": "每页条数",
  1322. "name": "pagesize",
  1323. "in": "query"
  1324. },
  1325. {
  1326. "type": "string",
  1327. "description": "资金账户列表,格式:1,2,3",
  1328. "name": "accountIDs",
  1329. "in": "query",
  1330. "required": true
  1331. },
  1332. {
  1333. "type": "integer",
  1334. "description": "单据类型:0 - 已发布(默认), 1 - 已完成",
  1335. "name": "orderType",
  1336. "in": "query"
  1337. }
  1338. ],
  1339. "responses": {
  1340. "200": {
  1341. "description": "OK",
  1342. "schema": {
  1343. "$ref": "#/definitions/models.HsbySellMyDetail"
  1344. }
  1345. },
  1346. "500": {
  1347. "description": "Internal Server Error",
  1348. "schema": {
  1349. "$ref": "#/definitions/app.Response"
  1350. }
  1351. }
  1352. }
  1353. }
  1354. },
  1355. "/HSBY/QueryHsbyTopGoodses": {
  1356. "get": {
  1357. "security": [
  1358. {
  1359. "ApiKeyAuth": []
  1360. }
  1361. ],
  1362. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  1363. "produces": [
  1364. "application/json"
  1365. ],
  1366. "tags": [
  1367. "定制【海商报业】"
  1368. ],
  1369. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  1370. "parameters": [
  1371. {
  1372. "type": "integer",
  1373. "description": "页码",
  1374. "name": "page",
  1375. "in": "query"
  1376. },
  1377. {
  1378. "type": "integer",
  1379. "description": "每页条数",
  1380. "name": "pagesize",
  1381. "in": "query"
  1382. },
  1383. {
  1384. "type": "string",
  1385. "description": "市场ID列表,格式:1,2,3",
  1386. "name": "marketIDs",
  1387. "in": "query",
  1388. "required": true
  1389. },
  1390. {
  1391. "type": "integer",
  1392. "description": "目的地(省)ID",
  1393. "name": "descProvinceID",
  1394. "in": "query"
  1395. },
  1396. {
  1397. "type": "integer",
  1398. "description": "目的地(市)ID",
  1399. "name": "descCityID",
  1400. "in": "query"
  1401. }
  1402. ],
  1403. "responses": {
  1404. "200": {
  1405. "description": "OK",
  1406. "schema": {
  1407. "$ref": "#/definitions/models.HsbyTopGoods"
  1408. }
  1409. },
  1410. "500": {
  1411. "description": "Internal Server Error",
  1412. "schema": {
  1413. "$ref": "#/definitions/app.Response"
  1414. }
  1415. }
  1416. }
  1417. }
  1418. },
  1419. "/HSBY/QueryProvincesAndCities": {
  1420. "get": {
  1421. "security": [
  1422. {
  1423. "ApiKeyAuth": []
  1424. }
  1425. ],
  1426. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  1427. "produces": [
  1428. "application/json"
  1429. ],
  1430. "tags": [
  1431. "定制【海商报业】"
  1432. ],
  1433. "summary": "查询省市信息(不包括区)",
  1434. "parameters": [
  1435. {
  1436. "type": "integer",
  1437. "description": "省ID",
  1438. "name": "provinceID",
  1439. "in": "query"
  1440. }
  1441. ],
  1442. "responses": {
  1443. "200": {
  1444. "description": "OK",
  1445. "schema": {
  1446. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  1447. }
  1448. },
  1449. "500": {
  1450. "description": "Internal Server Error",
  1451. "schema": {
  1452. "$ref": "#/definitions/app.Response"
  1453. }
  1454. }
  1455. }
  1456. }
  1457. },
  1458. "/HSBY/SetHsbyMyPackagesStatus": {
  1459. "post": {
  1460. "security": [
  1461. {
  1462. "ApiKeyAuth": []
  1463. }
  1464. ],
  1465. "produces": [
  1466. "application/json"
  1467. ],
  1468. "tags": [
  1469. "定制【海商报业】"
  1470. ],
  1471. "summary": "设置我的包裹已收货状态",
  1472. "parameters": [
  1473. {
  1474. "type": "string",
  1475. "description": "提货单号",
  1476. "name": "takeOrderID",
  1477. "in": "query",
  1478. "required": true
  1479. },
  1480. {
  1481. "type": "integer",
  1482. "description": "资金账号",
  1483. "name": "accountID",
  1484. "in": "query",
  1485. "required": true
  1486. }
  1487. ],
  1488. "responses": {
  1489. "200": {
  1490. "description": "OK",
  1491. "schema": {
  1492. "$ref": "#/definitions/app.Response"
  1493. }
  1494. },
  1495. "500": {
  1496. "description": "Internal Server Error",
  1497. "schema": {
  1498. "$ref": "#/definitions/app.Response"
  1499. }
  1500. }
  1501. }
  1502. }
  1503. },
  1504. "/Order/QueryHisTradeDetail": {
  1505. "get": {
  1506. "security": [
  1507. {
  1508. "ApiKeyAuth": []
  1509. }
  1510. ],
  1511. "produces": [
  1512. "application/json"
  1513. ],
  1514. "tags": [
  1515. "通用单据"
  1516. ],
  1517. "summary": "历史成交单查询(合约市场)",
  1518. "parameters": [
  1519. {
  1520. "type": "string",
  1521. "description": "资金账户 - 格式:1,2,3",
  1522. "name": "accountID",
  1523. "in": "query",
  1524. "required": true
  1525. },
  1526. {
  1527. "type": "integer",
  1528. "description": "成交单号",
  1529. "name": "tradeID",
  1530. "in": "query"
  1531. },
  1532. {
  1533. "type": "integer",
  1534. "description": "委托单号",
  1535. "name": "orderID",
  1536. "in": "query"
  1537. },
  1538. {
  1539. "type": "string",
  1540. "description": "交易模式 - 格式:1,2,3",
  1541. "name": "tradeMode",
  1542. "in": "query"
  1543. },
  1544. {
  1545. "type": "integer",
  1546. "description": "委托单据类型",
  1547. "name": "buildType",
  1548. "in": "query"
  1549. },
  1550. {
  1551. "type": "string",
  1552. "description": "成交类别 - 格式:1,2,3",
  1553. "name": "tradeType",
  1554. "in": "query"
  1555. },
  1556. {
  1557. "type": "string",
  1558. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1559. "name": "startDate",
  1560. "in": "query"
  1561. },
  1562. {
  1563. "type": "string",
  1564. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1565. "name": "endDate",
  1566. "in": "query"
  1567. }
  1568. ],
  1569. "responses": {
  1570. "200": {
  1571. "description": "OK",
  1572. "schema": {
  1573. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  1574. }
  1575. },
  1576. "500": {
  1577. "description": "Internal Server Error",
  1578. "schema": {
  1579. "$ref": "#/definitions/app.Response"
  1580. }
  1581. }
  1582. }
  1583. }
  1584. },
  1585. "/Order/QueryHisTradeOrderDetail": {
  1586. "get": {
  1587. "security": [
  1588. {
  1589. "ApiKeyAuth": []
  1590. }
  1591. ],
  1592. "produces": [
  1593. "application/json"
  1594. ],
  1595. "tags": [
  1596. "通用单据"
  1597. ],
  1598. "summary": "历史委托单查询请求(合约市场)",
  1599. "parameters": [
  1600. {
  1601. "type": "string",
  1602. "description": "资金账户 - 格式:1,2,3",
  1603. "name": "accountID",
  1604. "in": "query",
  1605. "required": true
  1606. },
  1607. {
  1608. "type": "string",
  1609. "description": "交易模式 - 格式:1,2,3",
  1610. "name": "tradeMode",
  1611. "in": "query"
  1612. },
  1613. {
  1614. "type": "string",
  1615. "description": "委托状态 - 格式:1,2,3",
  1616. "name": "orderStatus",
  1617. "in": "query"
  1618. },
  1619. {
  1620. "type": "integer",
  1621. "description": "委托单号",
  1622. "name": "orderID",
  1623. "in": "query"
  1624. },
  1625. {
  1626. "type": "string",
  1627. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1628. "name": "startDate",
  1629. "in": "query"
  1630. },
  1631. {
  1632. "type": "string",
  1633. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1634. "name": "endDate",
  1635. "in": "query"
  1636. }
  1637. ],
  1638. "responses": {
  1639. "200": {
  1640. "description": "OK",
  1641. "schema": {
  1642. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  1643. }
  1644. },
  1645. "500": {
  1646. "description": "Internal Server Error",
  1647. "schema": {
  1648. "$ref": "#/definitions/app.Response"
  1649. }
  1650. }
  1651. }
  1652. }
  1653. },
  1654. "/Order/QueryTradeDetail": {
  1655. "get": {
  1656. "security": [
  1657. {
  1658. "ApiKeyAuth": []
  1659. }
  1660. ],
  1661. "produces": [
  1662. "application/json"
  1663. ],
  1664. "tags": [
  1665. "通用单据"
  1666. ],
  1667. "summary": "成交单查询(合约市场)",
  1668. "parameters": [
  1669. {
  1670. "type": "string",
  1671. "description": "资金账户 - 格式:1,2,3",
  1672. "name": "accountID",
  1673. "in": "query",
  1674. "required": true
  1675. },
  1676. {
  1677. "type": "integer",
  1678. "description": "成交单号",
  1679. "name": "tradeID",
  1680. "in": "query"
  1681. },
  1682. {
  1683. "type": "integer",
  1684. "description": "委托单号",
  1685. "name": "orderID",
  1686. "in": "query"
  1687. },
  1688. {
  1689. "type": "string",
  1690. "description": "交易模式 - 格式:1,2,3",
  1691. "name": "tradeMode",
  1692. "in": "query"
  1693. },
  1694. {
  1695. "type": "integer",
  1696. "description": "委托单据类型",
  1697. "name": "buildType",
  1698. "in": "query"
  1699. },
  1700. {
  1701. "type": "string",
  1702. "description": "成交类别 - 格式:1,2,3",
  1703. "name": "tradeType",
  1704. "in": "query"
  1705. }
  1706. ],
  1707. "responses": {
  1708. "200": {
  1709. "description": "OK",
  1710. "schema": {
  1711. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  1712. }
  1713. },
  1714. "500": {
  1715. "description": "Internal Server Error",
  1716. "schema": {
  1717. "$ref": "#/definitions/app.Response"
  1718. }
  1719. }
  1720. }
  1721. }
  1722. },
  1723. "/Order/QueryTradeOrderDetail": {
  1724. "get": {
  1725. "security": [
  1726. {
  1727. "ApiKeyAuth": []
  1728. }
  1729. ],
  1730. "produces": [
  1731. "application/json"
  1732. ],
  1733. "tags": [
  1734. "通用单据"
  1735. ],
  1736. "summary": "委托单查询请求(合约市场)",
  1737. "parameters": [
  1738. {
  1739. "type": "string",
  1740. "description": "资金账户 - 格式:1,2,3",
  1741. "name": "accountID",
  1742. "in": "query",
  1743. "required": true
  1744. },
  1745. {
  1746. "type": "string",
  1747. "description": "交易模式 - 格式:1,2,3",
  1748. "name": "tradeMode",
  1749. "in": "query"
  1750. },
  1751. {
  1752. "type": "string",
  1753. "description": "委托状态 - 格式:1,2,3",
  1754. "name": "orderStatus",
  1755. "in": "query"
  1756. },
  1757. {
  1758. "type": "integer",
  1759. "description": "委托单号",
  1760. "name": "orderID",
  1761. "in": "query"
  1762. }
  1763. ],
  1764. "responses": {
  1765. "200": {
  1766. "description": "OK",
  1767. "schema": {
  1768. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  1769. }
  1770. },
  1771. "500": {
  1772. "description": "Internal Server Error",
  1773. "schema": {
  1774. "$ref": "#/definitions/app.Response"
  1775. }
  1776. }
  1777. }
  1778. }
  1779. },
  1780. "/Order/QueryTradePosition": {
  1781. "get": {
  1782. "security": [
  1783. {
  1784. "ApiKeyAuth": []
  1785. }
  1786. ],
  1787. "produces": [
  1788. "application/json"
  1789. ],
  1790. "tags": [
  1791. "通用单据"
  1792. ],
  1793. "summary": "持仓汇总查询(合约市场)",
  1794. "parameters": [
  1795. {
  1796. "type": "string",
  1797. "description": "资金账户 - 格式:1,2,3",
  1798. "name": "accountID",
  1799. "in": "query",
  1800. "required": true
  1801. },
  1802. {
  1803. "type": "string",
  1804. "description": "交易模式 - 格式:1,2,3",
  1805. "name": "tradeMode",
  1806. "in": "query"
  1807. }
  1808. ],
  1809. "responses": {
  1810. "200": {
  1811. "description": "OK",
  1812. "schema": {
  1813. "$ref": "#/definitions/order.QueryTradePositionRsp"
  1814. }
  1815. },
  1816. "500": {
  1817. "description": "Internal Server Error",
  1818. "schema": {
  1819. "$ref": "#/definitions/app.Response"
  1820. }
  1821. }
  1822. }
  1823. }
  1824. },
  1825. "/Quote/QueryHistoryDatas": {
  1826. "get": {
  1827. "security": [
  1828. {
  1829. "ApiKeyAuth": []
  1830. }
  1831. ],
  1832. "produces": [
  1833. "application/json"
  1834. ],
  1835. "tags": [
  1836. "行情服务"
  1837. ],
  1838. "summary": "查询行情历史数据",
  1839. "parameters": [
  1840. {
  1841. "type": "integer",
  1842. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  1843. "name": "cycleType",
  1844. "in": "query",
  1845. "required": true
  1846. },
  1847. {
  1848. "type": "string",
  1849. "description": "商品代码",
  1850. "name": "goodsCode",
  1851. "in": "query",
  1852. "required": true
  1853. },
  1854. {
  1855. "type": "string",
  1856. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  1857. "name": "startTime",
  1858. "in": "query"
  1859. },
  1860. {
  1861. "type": "string",
  1862. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  1863. "name": "endTime",
  1864. "in": "query"
  1865. },
  1866. {
  1867. "type": "integer",
  1868. "description": "条数",
  1869. "name": "count",
  1870. "in": "query"
  1871. },
  1872. {
  1873. "type": "boolean",
  1874. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  1875. "name": "isAsc",
  1876. "in": "query"
  1877. }
  1878. ],
  1879. "responses": {
  1880. "200": {
  1881. "description": "OK",
  1882. "schema": {
  1883. "$ref": "#/definitions/quote.HistoryData"
  1884. }
  1885. },
  1886. "500": {
  1887. "description": "Internal Server Error",
  1888. "schema": {
  1889. "$ref": "#/definitions/app.Response"
  1890. }
  1891. }
  1892. }
  1893. }
  1894. },
  1895. "/Quote/QueryTSData": {
  1896. "get": {
  1897. "produces": [
  1898. "application/json"
  1899. ],
  1900. "tags": [
  1901. "行情服务"
  1902. ],
  1903. "summary": "分时图数据查询",
  1904. "parameters": [
  1905. {
  1906. "type": "string",
  1907. "description": "商品代码",
  1908. "name": "GoodsCode",
  1909. "in": "query",
  1910. "required": true
  1911. }
  1912. ],
  1913. "responses": {
  1914. "200": {
  1915. "description": "OK",
  1916. "schema": {
  1917. "$ref": "#/definitions/quote.QueryTSDataRsp"
  1918. }
  1919. },
  1920. "500": {
  1921. "description": "Internal Server Error",
  1922. "schema": {
  1923. "$ref": "#/definitions/app.Response"
  1924. }
  1925. }
  1926. }
  1927. }
  1928. },
  1929. "/SZDZ/QueryConvertConfig": {
  1930. "get": {
  1931. "security": [
  1932. {
  1933. "ApiKeyAuth": []
  1934. }
  1935. ],
  1936. "produces": [
  1937. "application/json"
  1938. ],
  1939. "tags": [
  1940. "定制【尚志大宗】"
  1941. ],
  1942. "summary": "查询交易系统转换设置",
  1943. "parameters": [
  1944. {
  1945. "type": "integer",
  1946. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  1947. "name": "convertType",
  1948. "in": "query"
  1949. },
  1950. {
  1951. "type": "string",
  1952. "description": "外部商品代码[JD\\PD]",
  1953. "name": "outerGoodsCode",
  1954. "in": "query"
  1955. },
  1956. {
  1957. "type": "string",
  1958. "description": "内部商品ID列表[交易],格式:1,2,3",
  1959. "name": "innerGoodsIDs",
  1960. "in": "query"
  1961. }
  1962. ],
  1963. "responses": {
  1964. "200": {
  1965. "description": "OK",
  1966. "schema": {
  1967. "$ref": "#/definitions/models.Szdz3convertconfig"
  1968. }
  1969. },
  1970. "500": {
  1971. "description": "Internal Server Error",
  1972. "schema": {
  1973. "$ref": "#/definitions/app.Response"
  1974. }
  1975. }
  1976. }
  1977. }
  1978. },
  1979. "/SZDZ/QueryConvertLog": {
  1980. "get": {
  1981. "security": [
  1982. {
  1983. "ApiKeyAuth": []
  1984. }
  1985. ],
  1986. "produces": [
  1987. "application/json"
  1988. ],
  1989. "tags": [
  1990. "定制【尚志大宗】"
  1991. ],
  1992. "summary": "交易系统转换流水查询",
  1993. "parameters": [
  1994. {
  1995. "type": "string",
  1996. "description": "资金账户 - 格式:1,2,3",
  1997. "name": "accountID",
  1998. "in": "query",
  1999. "required": true
  2000. },
  2001. {
  2002. "type": "string",
  2003. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2004. "name": "startDate",
  2005. "in": "query"
  2006. },
  2007. {
  2008. "type": "string",
  2009. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2010. "name": "endDate",
  2011. "in": "query"
  2012. }
  2013. ],
  2014. "responses": {
  2015. "200": {
  2016. "description": "OK",
  2017. "schema": {
  2018. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  2019. }
  2020. },
  2021. "500": {
  2022. "description": "Internal Server Error",
  2023. "schema": {
  2024. "$ref": "#/definitions/app.Response"
  2025. }
  2026. }
  2027. }
  2028. }
  2029. },
  2030. "/SZDZ/QueryGoodsPickup": {
  2031. "get": {
  2032. "security": [
  2033. {
  2034. "ApiKeyAuth": []
  2035. }
  2036. ],
  2037. "produces": [
  2038. "application/json"
  2039. ],
  2040. "tags": [
  2041. "定制【尚志大宗】"
  2042. ],
  2043. "summary": "商品提货单查询",
  2044. "parameters": [
  2045. {
  2046. "type": "string",
  2047. "description": "资金账户 - 格式:1,2,3",
  2048. "name": "accountID",
  2049. "in": "query",
  2050. "required": true
  2051. },
  2052. {
  2053. "type": "integer",
  2054. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2055. "name": "takeOrderStatus",
  2056. "in": "query"
  2057. }
  2058. ],
  2059. "responses": {
  2060. "200": {
  2061. "description": "OK",
  2062. "schema": {
  2063. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  2064. }
  2065. },
  2066. "500": {
  2067. "description": "Internal Server Error",
  2068. "schema": {
  2069. "$ref": "#/definitions/app.Response"
  2070. }
  2071. }
  2072. }
  2073. }
  2074. },
  2075. "/SZDZ/QueryRecieptOrder": {
  2076. "get": {
  2077. "security": [
  2078. {
  2079. "ApiKeyAuth": []
  2080. }
  2081. ],
  2082. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  2083. "produces": [
  2084. "application/json"
  2085. ],
  2086. "tags": [
  2087. "定制【尚志大宗】"
  2088. ],
  2089. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  2090. "parameters": [
  2091. {
  2092. "type": "integer",
  2093. "description": "页码",
  2094. "name": "page",
  2095. "in": "query"
  2096. },
  2097. {
  2098. "type": "integer",
  2099. "description": "每页条数",
  2100. "name": "pagesize",
  2101. "in": "query"
  2102. },
  2103. {
  2104. "type": "integer",
  2105. "description": "商品ID",
  2106. "name": "goodsID",
  2107. "in": "query",
  2108. "required": true
  2109. },
  2110. {
  2111. "type": "string",
  2112. "description": "所属账户名称",
  2113. "name": "accountName",
  2114. "in": "query"
  2115. },
  2116. {
  2117. "type": "integer",
  2118. "description": "市场ID",
  2119. "name": "marketID",
  2120. "in": "query"
  2121. },
  2122. {
  2123. "type": "integer",
  2124. "description": "方向 - 0:买 1:卖",
  2125. "name": "buyorsell",
  2126. "in": "query",
  2127. "required": true
  2128. }
  2129. ],
  2130. "responses": {
  2131. "200": {
  2132. "description": "OK",
  2133. "schema": {
  2134. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  2135. }
  2136. },
  2137. "500": {
  2138. "description": "Internal Server Error",
  2139. "schema": {
  2140. "$ref": "#/definitions/app.Response"
  2141. }
  2142. }
  2143. }
  2144. }
  2145. },
  2146. "/SZDZ/QuerySZDZTradePosition": {
  2147. "get": {
  2148. "security": [
  2149. {
  2150. "ApiKeyAuth": []
  2151. }
  2152. ],
  2153. "produces": [
  2154. "application/json"
  2155. ],
  2156. "tags": [
  2157. "定制【尚志大宗】"
  2158. ],
  2159. "summary": "持仓汇总查询(尚志大宗)",
  2160. "parameters": [
  2161. {
  2162. "type": "integer",
  2163. "description": "资金账户",
  2164. "name": "accountID",
  2165. "in": "query",
  2166. "required": true
  2167. }
  2168. ],
  2169. "responses": {
  2170. "200": {
  2171. "description": "OK",
  2172. "schema": {
  2173. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  2174. }
  2175. },
  2176. "500": {
  2177. "description": "Internal Server Error",
  2178. "schema": {
  2179. "$ref": "#/definitions/app.Response"
  2180. }
  2181. }
  2182. }
  2183. }
  2184. },
  2185. "/SZDZ/SearchWhite": {
  2186. "get": {
  2187. "security": [
  2188. {
  2189. "ApiKeyAuth": []
  2190. }
  2191. ],
  2192. "produces": [
  2193. "application/json"
  2194. ],
  2195. "tags": [
  2196. "定制【尚志大宗】"
  2197. ],
  2198. "summary": "搜索白名单",
  2199. "parameters": [
  2200. {
  2201. "type": "integer",
  2202. "description": "用户ID",
  2203. "name": "userID",
  2204. "in": "query",
  2205. "required": true
  2206. }
  2207. ],
  2208. "responses": {
  2209. "200": {
  2210. "description": "OK",
  2211. "schema": {
  2212. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  2213. }
  2214. },
  2215. "500": {
  2216. "description": "Internal Server Error",
  2217. "schema": {
  2218. "$ref": "#/definitions/app.Response"
  2219. }
  2220. }
  2221. }
  2222. }
  2223. },
  2224. "/Search/SearchGoodses": {
  2225. "get": {
  2226. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  2227. "produces": [
  2228. "application/json"
  2229. ],
  2230. "tags": [
  2231. "检索服务"
  2232. ],
  2233. "summary": "检索商品信息",
  2234. "parameters": [
  2235. {
  2236. "type": "string",
  2237. "description": "检索内容",
  2238. "name": "content",
  2239. "in": "query",
  2240. "required": true
  2241. }
  2242. ],
  2243. "responses": {
  2244. "200": {
  2245. "description": "OK",
  2246. "schema": {
  2247. "$ref": "#/definitions/models.SearchGoods"
  2248. }
  2249. },
  2250. "500": {
  2251. "description": "Internal Server Error",
  2252. "schema": {
  2253. "$ref": "#/definitions/app.Response"
  2254. }
  2255. }
  2256. }
  2257. }
  2258. },
  2259. "/TaAccount/QueryAmountLog": {
  2260. "get": {
  2261. "security": [
  2262. {
  2263. "ApiKeyAuth": []
  2264. }
  2265. ],
  2266. "produces": [
  2267. "application/json"
  2268. ],
  2269. "tags": [
  2270. "资金账户"
  2271. ],
  2272. "summary": "资金流水查询(当前)",
  2273. "parameters": [
  2274. {
  2275. "type": "integer",
  2276. "description": "页码",
  2277. "name": "page",
  2278. "in": "query"
  2279. },
  2280. {
  2281. "type": "integer",
  2282. "description": "每页条数",
  2283. "name": "pagesize",
  2284. "in": "query"
  2285. },
  2286. {
  2287. "type": "string",
  2288. "description": "资金账户 - 格式:1,2,3",
  2289. "name": "accountID",
  2290. "in": "query",
  2291. "required": true
  2292. },
  2293. {
  2294. "type": "string",
  2295. "description": "资金操作类型 - 格式:1,2,3",
  2296. "name": "OperateType",
  2297. "in": "query"
  2298. }
  2299. ],
  2300. "responses": {
  2301. "200": {
  2302. "description": "OK",
  2303. "schema": {
  2304. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  2305. }
  2306. },
  2307. "500": {
  2308. "description": "Internal Server Error",
  2309. "schema": {
  2310. "$ref": "#/definitions/app.Response"
  2311. }
  2312. }
  2313. }
  2314. }
  2315. },
  2316. "/TaAccount/QueryHisAmountLog": {
  2317. "get": {
  2318. "security": [
  2319. {
  2320. "ApiKeyAuth": []
  2321. }
  2322. ],
  2323. "produces": [
  2324. "application/json"
  2325. ],
  2326. "tags": [
  2327. "资金账户"
  2328. ],
  2329. "summary": "资金流水查询(历史)",
  2330. "parameters": [
  2331. {
  2332. "type": "integer",
  2333. "description": "页码",
  2334. "name": "page",
  2335. "in": "query"
  2336. },
  2337. {
  2338. "type": "integer",
  2339. "description": "每页条数",
  2340. "name": "pagesize",
  2341. "in": "query"
  2342. },
  2343. {
  2344. "type": "string",
  2345. "description": "资金账户 - 格式:1,2,3",
  2346. "name": "accountID",
  2347. "in": "query",
  2348. "required": true
  2349. },
  2350. {
  2351. "type": "string",
  2352. "description": "资金操作类型 - 格式:1,2,3",
  2353. "name": "OperateType",
  2354. "in": "query"
  2355. },
  2356. {
  2357. "type": "string",
  2358. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2359. "name": "startDate",
  2360. "in": "query"
  2361. },
  2362. {
  2363. "type": "string",
  2364. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2365. "name": "endDate",
  2366. "in": "query"
  2367. }
  2368. ],
  2369. "responses": {
  2370. "200": {
  2371. "description": "OK",
  2372. "schema": {
  2373. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  2374. }
  2375. },
  2376. "500": {
  2377. "description": "Internal Server Error",
  2378. "schema": {
  2379. "$ref": "#/definitions/app.Response"
  2380. }
  2381. }
  2382. }
  2383. }
  2384. },
  2385. "/User/AddMessageBoard": {
  2386. "post": {
  2387. "security": [
  2388. {
  2389. "ApiKeyAuth": []
  2390. }
  2391. ],
  2392. "produces": [
  2393. "application/json"
  2394. ],
  2395. "tags": [
  2396. "用户信息"
  2397. ],
  2398. "summary": "添加用户留言板信息",
  2399. "parameters": [
  2400. {
  2401. "type": "integer",
  2402. "description": "用户ID",
  2403. "name": "userID",
  2404. "in": "query",
  2405. "required": true
  2406. },
  2407. {
  2408. "type": "string",
  2409. "description": "留言信息",
  2410. "name": "message",
  2411. "in": "query",
  2412. "required": true
  2413. }
  2414. ],
  2415. "responses": {
  2416. "200": {
  2417. "description": "OK",
  2418. "schema": {
  2419. "$ref": "#/definitions/app.Response"
  2420. }
  2421. },
  2422. "500": {
  2423. "description": "Internal Server Error",
  2424. "schema": {
  2425. "$ref": "#/definitions/app.Response"
  2426. }
  2427. }
  2428. }
  2429. }
  2430. },
  2431. "/User/AddUserFavoriteGoods": {
  2432. "post": {
  2433. "security": [
  2434. {
  2435. "ApiKeyAuth": []
  2436. }
  2437. ],
  2438. "produces": [
  2439. "application/json"
  2440. ],
  2441. "tags": [
  2442. "用户信息"
  2443. ],
  2444. "summary": "添加用户商品收藏信息",
  2445. "parameters": [
  2446. {
  2447. "type": "integer",
  2448. "description": "用户ID",
  2449. "name": "userID",
  2450. "in": "query",
  2451. "required": true
  2452. },
  2453. {
  2454. "type": "integer",
  2455. "description": "商品ID",
  2456. "name": "goodsID",
  2457. "in": "query",
  2458. "required": true
  2459. }
  2460. ],
  2461. "responses": {
  2462. "200": {
  2463. "description": "OK",
  2464. "schema": {
  2465. "$ref": "#/definitions/app.Response"
  2466. }
  2467. },
  2468. "500": {
  2469. "description": "Internal Server Error",
  2470. "schema": {
  2471. "$ref": "#/definitions/app.Response"
  2472. }
  2473. }
  2474. }
  2475. }
  2476. },
  2477. "/User/GetLoginID": {
  2478. "get": {
  2479. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  2480. "produces": [
  2481. "application/json"
  2482. ],
  2483. "tags": [
  2484. "用户信息"
  2485. ],
  2486. "summary": "获取登录ID",
  2487. "parameters": [
  2488. {
  2489. "type": "string",
  2490. "description": "登录代码",
  2491. "name": "username",
  2492. "in": "query",
  2493. "required": true
  2494. }
  2495. ],
  2496. "responses": {
  2497. "200": {
  2498. "description": "OK",
  2499. "schema": {
  2500. "$ref": "#/definitions/app.Response"
  2501. }
  2502. },
  2503. "500": {
  2504. "description": "Internal Server Error",
  2505. "schema": {
  2506. "$ref": "#/definitions/app.Response"
  2507. }
  2508. }
  2509. }
  2510. }
  2511. },
  2512. "/User/GetUserAuthStatus": {
  2513. "get": {
  2514. "security": [
  2515. {
  2516. "ApiKeyAuth": []
  2517. }
  2518. ],
  2519. "produces": [
  2520. "application/json"
  2521. ],
  2522. "tags": [
  2523. "用户信息"
  2524. ],
  2525. "summary": "获取用户实名认证状态",
  2526. "parameters": [
  2527. {
  2528. "type": "integer",
  2529. "description": "用户ID",
  2530. "name": "userID",
  2531. "in": "query",
  2532. "required": true
  2533. }
  2534. ],
  2535. "responses": {
  2536. "200": {
  2537. "description": "OK",
  2538. "schema": {
  2539. "$ref": "#/definitions/app.Response"
  2540. }
  2541. },
  2542. "500": {
  2543. "description": "Internal Server Error",
  2544. "schema": {
  2545. "$ref": "#/definitions/app.Response"
  2546. }
  2547. }
  2548. }
  2549. }
  2550. },
  2551. "/User/QueryMessageBoard": {
  2552. "get": {
  2553. "security": [
  2554. {
  2555. "ApiKeyAuth": []
  2556. }
  2557. ],
  2558. "produces": [
  2559. "application/json"
  2560. ],
  2561. "tags": [
  2562. "用户信息"
  2563. ],
  2564. "summary": "获取用户留言板信息",
  2565. "parameters": [
  2566. {
  2567. "type": "integer",
  2568. "description": "用户ID",
  2569. "name": "userID",
  2570. "in": "query",
  2571. "required": true
  2572. }
  2573. ],
  2574. "responses": {
  2575. "200": {
  2576. "description": "OK",
  2577. "schema": {
  2578. "$ref": "#/definitions/models.Messageboard"
  2579. }
  2580. },
  2581. "500": {
  2582. "description": "Internal Server Error",
  2583. "schema": {
  2584. "$ref": "#/definitions/app.Response"
  2585. }
  2586. }
  2587. }
  2588. }
  2589. },
  2590. "/User/QueryUserFavoriteGoodses": {
  2591. "get": {
  2592. "security": [
  2593. {
  2594. "ApiKeyAuth": []
  2595. }
  2596. ],
  2597. "produces": [
  2598. "application/json"
  2599. ],
  2600. "tags": [
  2601. "用户信息"
  2602. ],
  2603. "summary": "获取用户商品收藏信息",
  2604. "parameters": [
  2605. {
  2606. "type": "integer",
  2607. "description": "用户ID",
  2608. "name": "userID",
  2609. "in": "query",
  2610. "required": true
  2611. }
  2612. ],
  2613. "responses": {
  2614. "200": {
  2615. "description": "OK",
  2616. "schema": {
  2617. "$ref": "#/definitions/models.Userfavoritegoods"
  2618. }
  2619. },
  2620. "500": {
  2621. "description": "Internal Server Error",
  2622. "schema": {
  2623. "$ref": "#/definitions/app.Response"
  2624. }
  2625. }
  2626. }
  2627. }
  2628. },
  2629. "/User/QueryUserInfo": {
  2630. "get": {
  2631. "security": [
  2632. {
  2633. "ApiKeyAuth": []
  2634. }
  2635. ],
  2636. "produces": [
  2637. "application/json"
  2638. ],
  2639. "tags": [
  2640. "用户信息"
  2641. ],
  2642. "summary": "获取用户信息",
  2643. "parameters": [
  2644. {
  2645. "type": "integer",
  2646. "description": "用户ID",
  2647. "name": "userID",
  2648. "in": "query",
  2649. "required": true
  2650. }
  2651. ],
  2652. "responses": {
  2653. "200": {
  2654. "description": "OK",
  2655. "schema": {
  2656. "$ref": "#/definitions/models.Userinfo"
  2657. }
  2658. },
  2659. "500": {
  2660. "description": "Internal Server Error",
  2661. "schema": {
  2662. "$ref": "#/definitions/app.Response"
  2663. }
  2664. }
  2665. }
  2666. }
  2667. },
  2668. "/User/QueryUserReferNum": {
  2669. "get": {
  2670. "produces": [
  2671. "application/json"
  2672. ],
  2673. "tags": [
  2674. "用户信息"
  2675. ],
  2676. "summary": "获取用户邀请码",
  2677. "parameters": [
  2678. {
  2679. "type": "integer",
  2680. "description": "用户ID",
  2681. "name": "userID",
  2682. "in": "query",
  2683. "required": true
  2684. }
  2685. ],
  2686. "responses": {
  2687. "200": {
  2688. "description": "OK",
  2689. "schema": {
  2690. "$ref": "#/definitions/app.Response"
  2691. }
  2692. },
  2693. "500": {
  2694. "description": "Internal Server Error",
  2695. "schema": {
  2696. "$ref": "#/definitions/app.Response"
  2697. }
  2698. }
  2699. }
  2700. }
  2701. },
  2702. "/User/RemoveUserFavoriteGoods": {
  2703. "post": {
  2704. "security": [
  2705. {
  2706. "ApiKeyAuth": []
  2707. }
  2708. ],
  2709. "produces": [
  2710. "application/json"
  2711. ],
  2712. "tags": [
  2713. "用户信息"
  2714. ],
  2715. "summary": "移除用户商品收藏信息",
  2716. "parameters": [
  2717. {
  2718. "type": "integer",
  2719. "description": "用户ID",
  2720. "name": "userID",
  2721. "in": "query",
  2722. "required": true
  2723. },
  2724. {
  2725. "type": "integer",
  2726. "description": "商品ID",
  2727. "name": "goodsID",
  2728. "in": "query",
  2729. "required": true
  2730. }
  2731. ],
  2732. "responses": {
  2733. "200": {
  2734. "description": "OK",
  2735. "schema": {
  2736. "$ref": "#/definitions/app.Response"
  2737. }
  2738. },
  2739. "500": {
  2740. "description": "Internal Server Error",
  2741. "schema": {
  2742. "$ref": "#/definitions/app.Response"
  2743. }
  2744. }
  2745. }
  2746. }
  2747. },
  2748. "/WRTrade/GetAllDeliveryGoods": {
  2749. "get": {
  2750. "security": [
  2751. {
  2752. "ApiKeyAuth": []
  2753. }
  2754. ],
  2755. "produces": [
  2756. "application/json"
  2757. ],
  2758. "tags": [
  2759. "仓单贸易"
  2760. ],
  2761. "summary": "获取带仓单分类的种类信息",
  2762. "responses": {
  2763. "200": {
  2764. "description": "OK",
  2765. "schema": {
  2766. "$ref": "#/definitions/app.Response"
  2767. }
  2768. },
  2769. "500": {
  2770. "description": "Internal Server Error",
  2771. "schema": {
  2772. "$ref": "#/definitions/app.Response"
  2773. }
  2774. }
  2775. }
  2776. }
  2777. }
  2778. },
  2779. "definitions": {
  2780. "app.Response": {
  2781. "type": "object",
  2782. "properties": {
  2783. "code": {
  2784. "type": "integer"
  2785. },
  2786. "data": {
  2787. "type": "object"
  2788. },
  2789. "msg": {
  2790. "type": "string"
  2791. },
  2792. "page": {
  2793. "description": "页码",
  2794. "type": "integer"
  2795. },
  2796. "pagesize": {
  2797. "description": "每页条数",
  2798. "type": "integer"
  2799. },
  2800. "total": {
  2801. "description": "总条数",
  2802. "type": "integer"
  2803. }
  2804. }
  2805. },
  2806. "common.QueryNoticeRsp": {
  2807. "type": "object",
  2808. "required": [
  2809. "autoid"
  2810. ],
  2811. "properties": {
  2812. "auditoruserid": {
  2813. "description": "审核人",
  2814. "type": "integer"
  2815. },
  2816. "auditremark": {
  2817. "description": "审核备注",
  2818. "type": "string"
  2819. },
  2820. "audittime": {
  2821. "description": "审核日期",
  2822. "type": "string"
  2823. },
  2824. "autoid": {
  2825. "description": "自增ID",
  2826. "type": "integer"
  2827. },
  2828. "content": {
  2829. "description": "内容",
  2830. "type": "string"
  2831. },
  2832. "createtime": {
  2833. "description": "创建时间",
  2834. "type": "string"
  2835. },
  2836. "creatorid": {
  2837. "description": "建仓人",
  2838. "type": "integer"
  2839. },
  2840. "endtime": {
  2841. "description": "结束时间",
  2842. "type": "string"
  2843. },
  2844. "istop": {
  2845. "description": "是否置顶 - 0:不置顶 1:置顶",
  2846. "type": "integer"
  2847. },
  2848. "msgtype": {
  2849. "description": "消息类型 - 1:公告通知 2:系统消息",
  2850. "type": "integer"
  2851. },
  2852. "publisher": {
  2853. "description": "消息发布者",
  2854. "type": "string"
  2855. },
  2856. "readed": {
  2857. "description": "是否已读",
  2858. "type": "boolean"
  2859. },
  2860. "scheduletime": {
  2861. "description": "计划发送时间",
  2862. "type": "string"
  2863. },
  2864. "sendtype": {
  2865. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  2866. "type": "integer"
  2867. },
  2868. "sentstatus": {
  2869. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  2870. "type": "integer"
  2871. },
  2872. "title": {
  2873. "description": "标题",
  2874. "type": "string"
  2875. },
  2876. "userid": {
  2877. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  2878. "type": "integer"
  2879. }
  2880. }
  2881. },
  2882. "common.QueryProvincesAndCitiesRsp": {
  2883. "type": "object",
  2884. "properties": {
  2885. "cities": {
  2886. "description": "市",
  2887. "type": "array",
  2888. "items": {
  2889. "$ref": "#/definitions/models.Division"
  2890. }
  2891. },
  2892. "province": {
  2893. "description": "省",
  2894. "$ref": "#/definitions/models.Division"
  2895. }
  2896. }
  2897. },
  2898. "common.QueryTableDefineRsp": {
  2899. "type": "object",
  2900. "required": [
  2901. "tablekey"
  2902. ],
  2903. "properties": {
  2904. "columns": {
  2905. "description": "列头信息数组",
  2906. "type": "array",
  2907. "items": {
  2908. "$ref": "#/definitions/models.Tablecolumnconfig"
  2909. }
  2910. },
  2911. "remark": {
  2912. "description": "Remark",
  2913. "type": "string"
  2914. },
  2915. "tabelmenu": {
  2916. "description": "列表菜单",
  2917. "type": "string"
  2918. },
  2919. "tablekey": {
  2920. "description": "列表Key",
  2921. "type": "string"
  2922. },
  2923. "tablename": {
  2924. "description": "列表名称",
  2925. "type": "string"
  2926. },
  2927. "tabletype": {
  2928. "description": "列表类型 - 1:管理端 2:终端",
  2929. "type": "integer"
  2930. }
  2931. }
  2932. },
  2933. "common.QueryTraderMenuRsp": {
  2934. "type": "object",
  2935. "properties": {
  2936. "OperationMenu": {
  2937. "description": "功能菜单",
  2938. "type": "array",
  2939. "items": {
  2940. "$ref": "#/definitions/models.OperationPrimaryMenu"
  2941. }
  2942. },
  2943. "QuoteMenu": {
  2944. "description": "报价牌分类菜单",
  2945. "type": "array",
  2946. "items": {
  2947. "$ref": "#/definitions/models.QuotePrimaryMenu"
  2948. }
  2949. }
  2950. }
  2951. },
  2952. "cptrade.Cptradepositioncancel": {
  2953. "type": "object",
  2954. "required": [
  2955. "cancelid"
  2956. ],
  2957. "properties": {
  2958. "accountid": {
  2959. "description": "申请人账户ID",
  2960. "type": "integer"
  2961. },
  2962. "applystatus": {
  2963. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  2964. "type": "integer"
  2965. },
  2966. "applytime": {
  2967. "description": "申请时间",
  2968. "type": "string"
  2969. },
  2970. "cancelid": {
  2971. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  2972. "type": "integer"
  2973. },
  2974. "cancelqty": {
  2975. "description": "注销数量",
  2976. "type": "integer"
  2977. },
  2978. "createtime": {
  2979. "description": "创建时间",
  2980. "type": "string"
  2981. },
  2982. "creatorid": {
  2983. "description": "创建人ID",
  2984. "type": "integer"
  2985. },
  2986. "creatorname": {
  2987. "description": "创建人",
  2988. "type": "string"
  2989. },
  2990. "goodscode": {
  2991. "description": "订单商品代码",
  2992. "type": "string"
  2993. },
  2994. "goodsid": {
  2995. "description": "商品ID",
  2996. "type": "integer"
  2997. },
  2998. "goodsname": {
  2999. "description": "订单商品名称",
  3000. "type": "string"
  3001. },
  3002. "goodunit": {
  3003. "description": "报价单位",
  3004. "type": "string"
  3005. },
  3006. "handlestatus": {
  3007. "description": "处理状态",
  3008. "type": "integer"
  3009. },
  3010. "marketid": {
  3011. "description": "市场ID",
  3012. "type": "integer"
  3013. },
  3014. "marketname": {
  3015. "description": "市场名称",
  3016. "type": "string"
  3017. },
  3018. "tradedate": {
  3019. "description": "交易日(yyyyMMdd)",
  3020. "type": "string"
  3021. },
  3022. "userid": {
  3023. "description": "申请人ID",
  3024. "type": "integer"
  3025. }
  3026. }
  3027. },
  3028. "cptrade.Cptradepresaleapply": {
  3029. "type": "object",
  3030. "required": [
  3031. "applyid"
  3032. ],
  3033. "properties": {
  3034. "accountid": {
  3035. "description": "申请人账户ID",
  3036. "type": "integer"
  3037. },
  3038. "applyid": {
  3039. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  3040. "type": "integer"
  3041. },
  3042. "applyremark": {
  3043. "description": "申请备注",
  3044. "type": "string"
  3045. },
  3046. "applystatus": {
  3047. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3048. "type": "integer"
  3049. },
  3050. "applytime": {
  3051. "description": "申请时间",
  3052. "type": "string"
  3053. },
  3054. "attachmenturl": {
  3055. "description": "附件地址",
  3056. "type": "string"
  3057. },
  3058. "endtime": {
  3059. "description": "预售结束时间",
  3060. "type": "string"
  3061. },
  3062. "goodscode": {
  3063. "description": "商品代码",
  3064. "type": "string"
  3065. },
  3066. "goodsid": {
  3067. "description": "商品ID",
  3068. "type": "integer"
  3069. },
  3070. "goodsname": {
  3071. "description": "商品名称",
  3072. "type": "string"
  3073. },
  3074. "goodunit": {
  3075. "description": "报价单位",
  3076. "type": "string"
  3077. },
  3078. "handlestatus": {
  3079. "description": "处理状态",
  3080. "type": "integer"
  3081. },
  3082. "marketid": {
  3083. "description": "预售市场ID",
  3084. "type": "integer"
  3085. },
  3086. "marketname": {
  3087. "description": "预售市场名称",
  3088. "type": "string"
  3089. },
  3090. "presaleqty": {
  3091. "description": "预售数量",
  3092. "type": "integer"
  3093. },
  3094. "relatedgoodscode": {
  3095. "description": "关联交易合约代码",
  3096. "type": "string"
  3097. },
  3098. "relatedgoodsid": {
  3099. "description": "关联交易合约ID",
  3100. "type": "integer"
  3101. },
  3102. "relatedgoodsname": {
  3103. "description": "关联交易合约名称",
  3104. "type": "string"
  3105. },
  3106. "starttime": {
  3107. "description": "预售开始时间",
  3108. "type": "string"
  3109. },
  3110. "tradedate": {
  3111. "description": "交易日(yyyyMMdd)",
  3112. "type": "string"
  3113. },
  3114. "trademode": {
  3115. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  3116. "type": "integer"
  3117. },
  3118. "userid": {
  3119. "description": "申请人ID",
  3120. "type": "integer"
  3121. }
  3122. }
  3123. },
  3124. "cptrade.Cptradeusergoodsdata": {
  3125. "type": "object",
  3126. "required": [
  3127. "accountid",
  3128. "goodsid"
  3129. ],
  3130. "properties": {
  3131. "EnabledQty": {
  3132. "description": "可用量",
  3133. "type": "integer"
  3134. },
  3135. "GoodsCode": {
  3136. "description": "订单商品代码",
  3137. "type": "string"
  3138. },
  3139. "GoodsName": {
  3140. "description": "订单商品名称",
  3141. "type": "string"
  3142. },
  3143. "WRStandardCode": {
  3144. "description": "仓单标准代码",
  3145. "type": "string"
  3146. },
  3147. "WRStandardName": {
  3148. "description": "仓单标准名称",
  3149. "type": "string"
  3150. },
  3151. "accountid": {
  3152. "description": "账户ID",
  3153. "type": "integer"
  3154. },
  3155. "cancelqty": {
  3156. "description": "注销量",
  3157. "type": "integer"
  3158. },
  3159. "curpresaleqty": {
  3160. "description": "当前预售量",
  3161. "type": "integer"
  3162. },
  3163. "deliveryqty": {
  3164. "description": "交割量",
  3165. "type": "integer"
  3166. },
  3167. "freezeamount": {
  3168. "description": "冻结金额",
  3169. "type": "number"
  3170. },
  3171. "goodsid": {
  3172. "description": "商品ID",
  3173. "type": "integer"
  3174. },
  3175. "goodunit": {
  3176. "description": "报价单位",
  3177. "type": "string"
  3178. },
  3179. "hasspotfreeze": {
  3180. "description": "是否有现货冻结 - 0:否 1:有",
  3181. "type": "integer"
  3182. },
  3183. "inqty": {
  3184. "description": "转入量(总数量)",
  3185. "type": "integer"
  3186. },
  3187. "marketid": {
  3188. "description": "市场ID",
  3189. "type": "integer"
  3190. },
  3191. "presaledamount": {
  3192. "description": "已预售总金额",
  3193. "type": "integer"
  3194. },
  3195. "presaledqty": {
  3196. "description": "已预售量",
  3197. "type": "integer"
  3198. },
  3199. "userid": {
  3200. "description": "用户ID",
  3201. "type": "integer"
  3202. },
  3203. "wrstandardid": {
  3204. "description": "仓单标准ID",
  3205. "type": "integer"
  3206. }
  3207. }
  3208. },
  3209. "cptrade.QueryCPTradeMyBidRsp": {
  3210. "type": "object",
  3211. "required": [
  3212. "accountid",
  3213. "goodsid",
  3214. "marketid",
  3215. "orderid",
  3216. "orderqty",
  3217. "ordertime",
  3218. "tradeprice",
  3219. "tradeqty"
  3220. ],
  3221. "properties": {
  3222. "accountid": {
  3223. "description": "账户ID[报价币种]",
  3224. "type": "integer"
  3225. },
  3226. "goodsid": {
  3227. "description": "商品ID",
  3228. "type": "integer"
  3229. },
  3230. "goodunit": {
  3231. "description": "报价单位",
  3232. "type": "string"
  3233. },
  3234. "marketid": {
  3235. "description": "市场ID",
  3236. "type": "integer"
  3237. },
  3238. "orderid": {
  3239. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  3240. "type": "integer"
  3241. },
  3242. "orderprice": {
  3243. "description": "委托价格",
  3244. "type": "number"
  3245. },
  3246. "orderqty": {
  3247. "description": "委托数量",
  3248. "type": "integer"
  3249. },
  3250. "ordertime": {
  3251. "description": "委托时间",
  3252. "type": "string"
  3253. },
  3254. "ordertotalprice": {
  3255. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  3256. "type": "number"
  3257. },
  3258. "ordertotalweight": {
  3259. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  3260. "type": "integer"
  3261. },
  3262. "totaltotalprice": {
  3263. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  3264. "type": "number"
  3265. },
  3266. "tradeprice": {
  3267. "description": "成交价格",
  3268. "type": "number"
  3269. },
  3270. "tradeqty": {
  3271. "description": "成交数量",
  3272. "type": "integer"
  3273. }
  3274. }
  3275. },
  3276. "cptrade.QueryCPTradeOrderDetailRsq": {
  3277. "type": "object",
  3278. "required": [
  3279. "accountid",
  3280. "buildtype",
  3281. "buyorsell",
  3282. "goodsid",
  3283. "marketid",
  3284. "memberuserid",
  3285. "operatetype",
  3286. "orderqty",
  3287. "ordertime",
  3288. "pricemode",
  3289. "strorderid",
  3290. "tradedate",
  3291. "validtype"
  3292. ],
  3293. "properties": {
  3294. "accountid": {
  3295. "description": "账户ID[报价币种]",
  3296. "type": "integer"
  3297. },
  3298. "buildtype": {
  3299. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  3300. "type": "integer"
  3301. },
  3302. "buyorsell": {
  3303. "description": "买卖 - 0:买 1:卖",
  3304. "type": "integer"
  3305. },
  3306. "cancelorderid": {
  3307. "description": "撤单单号(撤单时填写)",
  3308. "type": "integer"
  3309. },
  3310. "cancelqty": {
  3311. "description": "撤单数量",
  3312. "type": "integer"
  3313. },
  3314. "clientordertime": {
  3315. "description": "客户端委托时间",
  3316. "type": "string"
  3317. },
  3318. "clientticket": {
  3319. "description": "客户端流水号",
  3320. "type": "string"
  3321. },
  3322. "clienttype": {
  3323. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  3324. "type": "integer"
  3325. },
  3326. "closeexchagechargevalue": {
  3327. "description": "平仓交易所手续费设置值",
  3328. "type": "number"
  3329. },
  3330. "closefeealgorithm": {
  3331. "description": "平仓手续费收取方式 1:比率 2:固定",
  3332. "type": "integer"
  3333. },
  3334. "closefreezecharge": {
  3335. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  3336. "type": "number"
  3337. },
  3338. "closememberchargevalue": {
  3339. "description": "平仓会员手续费设置值",
  3340. "type": "number"
  3341. },
  3342. "closeqty": {
  3343. "description": "平仓数量(先建后平操作 需要记录)",
  3344. "type": "integer"
  3345. },
  3346. "closetradeqty": {
  3347. "description": "平仓成交数量(先建后平操作,需要记录)",
  3348. "type": "integer"
  3349. },
  3350. "closeunfreezecharge": {
  3351. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  3352. "type": "number"
  3353. },
  3354. "delistingtype": {
  3355. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  3356. "type": "integer"
  3357. },
  3358. "freezecharge": {
  3359. "description": "冻结手续费",
  3360. "type": "number"
  3361. },
  3362. "freezemargin": {
  3363. "description": "冻结保证金(冻结交易金额)",
  3364. "type": "number"
  3365. },
  3366. "gcaccountid": {
  3367. "description": "账户ID[合约币种]",
  3368. "type": "integer"
  3369. },
  3370. "goodsid": {
  3371. "description": "商品ID",
  3372. "type": "integer"
  3373. },
  3374. "isconfirmexercise": {
  3375. "description": "是否确认行权- 0:否 1:是",
  3376. "type": "integer"
  3377. },
  3378. "ispreexercise": {
  3379. "description": "是否预申报- 0:否 1:是",
  3380. "type": "integer"
  3381. },
  3382. "listingselecttype": {
  3383. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  3384. "type": "integer"
  3385. },
  3386. "marginalgorithm": {
  3387. "description": "保证金收取方式 1:比率 2:固定",
  3388. "type": "integer"
  3389. },
  3390. "marginvalue": {
  3391. "description": "即市保证金设置值",
  3392. "type": "number"
  3393. },
  3394. "marketid": {
  3395. "description": "市场ID",
  3396. "type": "integer"
  3397. },
  3398. "marketmaxsub": {
  3399. "description": "市价最大偏移范围",
  3400. "type": "number"
  3401. },
  3402. "memberuserid": {
  3403. "description": "所属会员UserID",
  3404. "type": "integer"
  3405. },
  3406. "openexchagechargevalue": {
  3407. "description": "建仓交易所手续费设置值",
  3408. "type": "number"
  3409. },
  3410. "openfeealgorithm": {
  3411. "description": "建仓手续费收取方式 1:比率 2:固定",
  3412. "type": "integer"
  3413. },
  3414. "openfreezecharge": {
  3415. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  3416. "type": "number"
  3417. },
  3418. "openmemberchargevalue": {
  3419. "description": "建仓会员手续费设置值",
  3420. "type": "number"
  3421. },
  3422. "openqty": {
  3423. "description": "开仓数量(先建后平操作,需要记录)",
  3424. "type": "integer"
  3425. },
  3426. "opentradeqty": {
  3427. "description": "开仓成交数量(先建后平操作,需要记录)",
  3428. "type": "integer"
  3429. },
  3430. "openunfreezecharge": {
  3431. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  3432. "type": "number"
  3433. },
  3434. "operatetype": {
  3435. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  3436. "type": "integer"
  3437. },
  3438. "operatorid": {
  3439. "description": "登录账号(LoginID)",
  3440. "type": "integer"
  3441. },
  3442. "optiontype": {
  3443. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  3444. "type": "integer"
  3445. },
  3446. "orderprice": {
  3447. "description": "委托价格",
  3448. "type": "number"
  3449. },
  3450. "orderqty": {
  3451. "description": "委托数量",
  3452. "type": "integer"
  3453. },
  3454. "ordersrc": {
  3455. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  3456. "type": "integer"
  3457. },
  3458. "orderstatus": {
  3459. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  3460. "type": "integer"
  3461. },
  3462. "ordertime": {
  3463. "description": "委托时间",
  3464. "type": "string"
  3465. },
  3466. "preexerciseprice": {
  3467. "description": "预申报价格",
  3468. "type": "number"
  3469. },
  3470. "premium": {
  3471. "description": "权利金",
  3472. "type": "number"
  3473. },
  3474. "preorderid": {
  3475. "description": "关联预埋单号(止盈止损单时填写)",
  3476. "type": "integer"
  3477. },
  3478. "pricemode": {
  3479. "description": "取价方式 - 1:市价 2: 限价",
  3480. "type": "integer"
  3481. },
  3482. "quoteid": {
  3483. "description": "报价单ID",
  3484. "type": "integer"
  3485. },
  3486. "relatedid": {
  3487. "description": "关联单号(交割单)",
  3488. "type": "integer"
  3489. },
  3490. "retcode": {
  3491. "description": "错误代码",
  3492. "type": "integer"
  3493. },
  3494. "sessionid": {
  3495. "description": "会话ID",
  3496. "type": "integer"
  3497. },
  3498. "strorderid": {
  3499. "description": "委托单号",
  3500. "type": "string"
  3501. },
  3502. "tradedate": {
  3503. "description": "交易日(yyyyMMdd)",
  3504. "type": "string"
  3505. },
  3506. "tradeproperty": {
  3507. "description": "交易属性",
  3508. "type": "integer"
  3509. },
  3510. "tradeqty": {
  3511. "description": "成交数量",
  3512. "type": "integer"
  3513. },
  3514. "unfreezecharge": {
  3515. "description": "解冻手续费",
  3516. "type": "number"
  3517. },
  3518. "unfreezemargin": {
  3519. "description": "解冻保证金",
  3520. "type": "number"
  3521. },
  3522. "updatetime": {
  3523. "description": "更新时间",
  3524. "type": "string"
  3525. },
  3526. "uuid": {
  3527. "description": "发起端唯一id",
  3528. "type": "string"
  3529. },
  3530. "validtime": {
  3531. "description": "有效期限",
  3532. "type": "string"
  3533. },
  3534. "validtype": {
  3535. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  3536. "type": "integer"
  3537. },
  3538. "volumetype": {
  3539. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  3540. "type": "integer"
  3541. }
  3542. }
  3543. },
  3544. "cptrade.QueryMyCPTradeGoodsRsp": {
  3545. "type": "object",
  3546. "required": [
  3547. "goodscode",
  3548. "goodsid",
  3549. "goodsname",
  3550. "marketid",
  3551. "relatedgoodscode",
  3552. "relatedgoodsname"
  3553. ],
  3554. "properties": {
  3555. "accountid": {
  3556. "description": "卖方账户ID",
  3557. "type": "integer"
  3558. },
  3559. "agreeunit": {
  3560. "description": "合约单位",
  3561. "type": "number"
  3562. },
  3563. "applyid": {
  3564. "description": "关联申请ID",
  3565. "type": "integer"
  3566. },
  3567. "attachmenturl": {
  3568. "description": "附件地址",
  3569. "type": "string"
  3570. },
  3571. "createtime": {
  3572. "description": "创建时间",
  3573. "type": "string"
  3574. },
  3575. "currencyid": {
  3576. "description": "报价货币ID",
  3577. "type": "integer"
  3578. },
  3579. "decimalplace": {
  3580. "description": "报价小数位",
  3581. "type": "integer"
  3582. },
  3583. "endtime": {
  3584. "description": "预售结束时间",
  3585. "type": "string"
  3586. },
  3587. "floorprice": {
  3588. "description": "底价[大宗式竞拍]",
  3589. "type": "number"
  3590. },
  3591. "goodscode": {
  3592. "description": "商品代码(预售)",
  3593. "type": "string"
  3594. },
  3595. "goodsdetail": {
  3596. "description": "详情[大宗]",
  3597. "type": "string"
  3598. },
  3599. "goodsid": {
  3600. "description": "商品ID(自增ID SEQ_GOODS)",
  3601. "type": "integer"
  3602. },
  3603. "goodsname": {
  3604. "description": "商品名称(预售)",
  3605. "type": "string"
  3606. },
  3607. "goodunit": {
  3608. "description": "报价单位",
  3609. "type": "string"
  3610. },
  3611. "goodunitid": {
  3612. "description": "报价单位ID",
  3613. "type": "integer"
  3614. },
  3615. "marketid": {
  3616. "description": "所属市场ID",
  3617. "type": "integer"
  3618. },
  3619. "marketname": {
  3620. "description": "预售市场名称",
  3621. "type": "string"
  3622. },
  3623. "presaledamount": {
  3624. "description": "已预售总金额(预售结束时更新)",
  3625. "type": "number"
  3626. },
  3627. "presaledqty": {
  3628. "description": "已预售量(预售结束时更新)",
  3629. "type": "integer"
  3630. },
  3631. "presalemode": {
  3632. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  3633. "type": "integer"
  3634. },
  3635. "presaleqty": {
  3636. "description": "预售数量",
  3637. "type": "integer"
  3638. },
  3639. "refprice": {
  3640. "description": "参考价格[一口价]",
  3641. "type": "number"
  3642. },
  3643. "relatedgoodscode": {
  3644. "description": "商品代码(订单)",
  3645. "type": "string"
  3646. },
  3647. "relatedgoodsid": {
  3648. "description": "关联交易合约ID",
  3649. "type": "integer"
  3650. },
  3651. "relatedgoodsname": {
  3652. "description": "商品名称(订单)",
  3653. "type": "string"
  3654. },
  3655. "relatedmarketid": {
  3656. "description": "关联交易合约市场ID",
  3657. "type": "integer"
  3658. },
  3659. "sellstatus": {
  3660. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  3661. "type": "integer"
  3662. },
  3663. "startprice": {
  3664. "description": "起拍价[大宗式竞拍]",
  3665. "type": "number"
  3666. },
  3667. "starttime": {
  3668. "description": "预售开始时间",
  3669. "type": "string"
  3670. },
  3671. "tradedate": {
  3672. "description": "交易日(yyyyMMdd)",
  3673. "type": "string"
  3674. },
  3675. "tradeprice": {
  3676. "description": "成交价[大宗]",
  3677. "type": "number"
  3678. },
  3679. "userid": {
  3680. "description": "卖方用户ID",
  3681. "type": "integer"
  3682. }
  3683. }
  3684. },
  3685. "cptrade.QueryPresaleGoodsExRsp": {
  3686. "type": "object",
  3687. "required": [
  3688. "goodsid"
  3689. ],
  3690. "properties": {
  3691. "attachmenturl": {
  3692. "description": "附件地址",
  3693. "type": "string"
  3694. },
  3695. "createtime": {
  3696. "description": "创建时间",
  3697. "type": "string"
  3698. },
  3699. "endtime": {
  3700. "description": "预售结束时间",
  3701. "type": "string"
  3702. },
  3703. "floorprice": {
  3704. "description": "底价[大宗式竞拍]",
  3705. "type": "number"
  3706. },
  3707. "goodsdetail": {
  3708. "description": "详情[大宗]",
  3709. "type": "string"
  3710. },
  3711. "goodsid": {
  3712. "description": "商品ID(预售)",
  3713. "type": "integer"
  3714. },
  3715. "goodunit": {
  3716. "description": "报价单位",
  3717. "type": "string"
  3718. },
  3719. "marketid": {
  3720. "description": "预售市场ID - 根据预售模式选择市场",
  3721. "type": "integer"
  3722. },
  3723. "presaledamount": {
  3724. "description": "已预售总金额(预售结束时更新)",
  3725. "type": "number"
  3726. },
  3727. "presaledqty": {
  3728. "description": "已预售量(预售结束时更新)",
  3729. "type": "integer"
  3730. },
  3731. "presalemode": {
  3732. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  3733. "type": "integer"
  3734. },
  3735. "presaleqty": {
  3736. "description": "预售数量",
  3737. "type": "integer"
  3738. },
  3739. "refprice": {
  3740. "description": "参考价格[一口价]",
  3741. "type": "number"
  3742. },
  3743. "relatedgoodsid": {
  3744. "description": "关联交易合约ID",
  3745. "type": "integer"
  3746. },
  3747. "relatedmarketid": {
  3748. "description": "关联交易合约市场ID",
  3749. "type": "integer"
  3750. },
  3751. "sellstatus": {
  3752. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  3753. "type": "integer"
  3754. },
  3755. "startprice": {
  3756. "description": "起拍价[大宗式竞拍]",
  3757. "type": "number"
  3758. },
  3759. "starttime": {
  3760. "description": "预售开始时间",
  3761. "type": "string"
  3762. },
  3763. "tradedate": {
  3764. "description": "交易日(yyyyMMdd)",
  3765. "type": "string"
  3766. },
  3767. "tradeprice": {
  3768. "description": "成交价[大宗]",
  3769. "type": "number"
  3770. }
  3771. }
  3772. },
  3773. "delivery.QueryDeliveryRelationRsp": {
  3774. "type": "object",
  3775. "required": [
  3776. "begindate",
  3777. "enddate",
  3778. "goodsid",
  3779. "mindeliveryqty",
  3780. "xdeliveryratio"
  3781. ],
  3782. "properties": {
  3783. "begindate": {
  3784. "description": "起始日期(yyyyMMdd)",
  3785. "type": "string"
  3786. },
  3787. "buytemplateid": {
  3788. "description": "买履约计划模板ID",
  3789. "type": "integer"
  3790. },
  3791. "deliverygoodscode": {
  3792. "description": "品种代码",
  3793. "type": "string"
  3794. },
  3795. "deliverygoodsid": {
  3796. "description": "交割商品",
  3797. "type": "integer"
  3798. },
  3799. "deliverygoodsname": {
  3800. "description": "品种名称",
  3801. "type": "string"
  3802. },
  3803. "deliverymode": {
  3804. "description": "交割方式 - 1:点选式 2:申报式",
  3805. "type": "integer"
  3806. },
  3807. "deliverypricerule": {
  3808. "description": "交割价规则- 1:行情价 2:建仓价",
  3809. "type": "integer"
  3810. },
  3811. "deliverytype": {
  3812. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  3813. "type": "integer"
  3814. },
  3815. "enddate": {
  3816. "description": "结束日期(yyyyMMdd)",
  3817. "type": "string"
  3818. },
  3819. "goodscode": {
  3820. "description": "商品代码",
  3821. "type": "string"
  3822. },
  3823. "goodsid": {
  3824. "description": "交易合约ID",
  3825. "type": "integer"
  3826. },
  3827. "goodsname": {
  3828. "description": "商品名称",
  3829. "type": "string"
  3830. },
  3831. "marketid": {
  3832. "description": "市场ID",
  3833. "type": "integer"
  3834. },
  3835. "mindeliveryqty": {
  3836. "description": "最小交割系数(K)",
  3837. "type": "integer"
  3838. },
  3839. "p2deliveryprice": {
  3840. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  3841. "type": "number"
  3842. },
  3843. "p2deliveryratio": {
  3844. "description": "P2合约系数(p)",
  3845. "type": "integer"
  3846. },
  3847. "p2goodsid": {
  3848. "description": "P2合约ID",
  3849. "type": "integer"
  3850. },
  3851. "p2pricemode": {
  3852. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  3853. "type": "integer"
  3854. },
  3855. "pdeliveryprice": {
  3856. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  3857. "type": "number"
  3858. },
  3859. "pdeliveryratio": {
  3860. "description": "P合约系数(n)",
  3861. "type": "integer"
  3862. },
  3863. "pgoodsid": {
  3864. "description": "P合约ID",
  3865. "type": "integer"
  3866. },
  3867. "ppricemode": {
  3868. "description": "P合约价格方式 - 1:商品价 2:固定值",
  3869. "type": "integer"
  3870. },
  3871. "rratio": {
  3872. "description": "兑换系数(R)",
  3873. "type": "integer"
  3874. },
  3875. "rratio1": {
  3876. "description": "兑换系数(交易合约)(R1)",
  3877. "type": "integer"
  3878. },
  3879. "rratio2": {
  3880. "description": "兑换系数(仓单标准)(R2)",
  3881. "type": "integer"
  3882. },
  3883. "selltemplateid": {
  3884. "description": "卖履约计划模板ID",
  3885. "type": "integer"
  3886. },
  3887. "wrstandardid": {
  3888. "description": "仓单标准ID",
  3889. "type": "integer"
  3890. },
  3891. "xdeliveryratio": {
  3892. "description": "交易合约系数(m)",
  3893. "type": "integer"
  3894. }
  3895. }
  3896. },
  3897. "erms2.QueryArbitrageStrategyRsp": {
  3898. "type": "object",
  3899. "required": [
  3900. "asapplyid"
  3901. ],
  3902. "properties": {
  3903. "applybasis": {
  3904. "description": "申请基差",
  3905. "type": "number"
  3906. },
  3907. "asapplyid": {
  3908. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  3909. "type": "string"
  3910. },
  3911. "asname": {
  3912. "description": "策略名称",
  3913. "type": "string"
  3914. },
  3915. "asno": {
  3916. "description": "策略编号",
  3917. "type": "string"
  3918. },
  3919. "basischangepl": {
  3920. "description": "基差变动损益[结算更新]",
  3921. "type": "number"
  3922. },
  3923. "biztype": {
  3924. "description": "业务类型 - 1:正向套利 -1:反向套利",
  3925. "type": "integer"
  3926. },
  3927. "closetradedate": {
  3928. "description": "完结交易日(yyyyMMdd)",
  3929. "type": "string"
  3930. },
  3931. "curbasis": {
  3932. "description": "当前基差[结算更新]",
  3933. "type": "number"
  3934. },
  3935. "deliverygoodsid": {
  3936. "description": "现货品种ID",
  3937. "type": "integer"
  3938. },
  3939. "futureavgprice": {
  3940. "description": "期货建仓均价",
  3941. "type": "number"
  3942. },
  3943. "futurecloseamount": {
  3944. "description": "期货平仓金额",
  3945. "type": "number"
  3946. },
  3947. "futurecloseqty": {
  3948. "description": "期货平仓数量",
  3949. "type": "number"
  3950. },
  3951. "futureopenamount": {
  3952. "description": "期货开仓金额",
  3953. "type": "number"
  3954. },
  3955. "futureopenqty": {
  3956. "description": "期货开仓数量",
  3957. "type": "number"
  3958. },
  3959. "futurepl": {
  3960. "description": "期货总盈亏[结算更新]",
  3961. "type": "number"
  3962. },
  3963. "futureqty": {
  3964. "description": "期货持仓数量",
  3965. "type": "number"
  3966. },
  3967. "futurequote": {
  3968. "description": "期货额度",
  3969. "type": "number"
  3970. },
  3971. "goodsgroupid": {
  3972. "description": "期货品种ID",
  3973. "type": "integer"
  3974. },
  3975. "marketid": {
  3976. "description": "市场ID",
  3977. "type": "integer"
  3978. },
  3979. "netexposure": {
  3980. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  3981. "type": "number"
  3982. },
  3983. "netexposurepl": {
  3984. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  3985. "type": "number"
  3986. },
  3987. "netexposurerate": {
  3988. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  3989. "type": "number"
  3990. },
  3991. "openbasis": {
  3992. "description": "建仓基差",
  3993. "type": "number"
  3994. },
  3995. "pricedspotqty": {
  3996. "description": "已定价现货数量",
  3997. "type": "number"
  3998. },
  3999. "pricedspotqtynotax": {
  4000. "description": "已定价现货不含税数量",
  4001. "type": "number"
  4002. },
  4003. "remark": {
  4004. "description": "备注",
  4005. "type": "string"
  4006. },
  4007. "spotavgprice": {
  4008. "description": "现货均价",
  4009. "type": "number"
  4010. },
  4011. "spotbuyamount": {
  4012. "description": "现货采购金额",
  4013. "type": "number"
  4014. },
  4015. "spotbuyqty": {
  4016. "description": "现货采购数量",
  4017. "type": "number"
  4018. },
  4019. "spotpl": {
  4020. "description": "现货总盈亏[结算更新]",
  4021. "type": "number"
  4022. },
  4023. "spotquota": {
  4024. "description": "现货额度",
  4025. "type": "number"
  4026. },
  4027. "spotsellamount": {
  4028. "description": "现货销售金额",
  4029. "type": "number"
  4030. },
  4031. "spotsellqty": {
  4032. "description": "现货销售数量",
  4033. "type": "number"
  4034. },
  4035. "spotusedquota": {
  4036. "description": "现货占用资金",
  4037. "type": "number"
  4038. },
  4039. "strategystatus": {
  4040. "description": "策略状态 - 0:未结束 1:已结束",
  4041. "type": "integer"
  4042. },
  4043. "totalpl": {
  4044. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  4045. "type": "number"
  4046. },
  4047. "tradedate": {
  4048. "description": "交易日(yyyyMMdd)",
  4049. "type": "string"
  4050. },
  4051. "updatetime": {
  4052. "description": "更新时间",
  4053. "type": "string"
  4054. },
  4055. "usedquota": {
  4056. "description": "已占用资金",
  4057. "type": "number"
  4058. },
  4059. "userid": {
  4060. "description": "所属机构",
  4061. "type": "integer"
  4062. }
  4063. }
  4064. },
  4065. "erms2.QueryInnerTradeDetailRsp": {
  4066. "type": "object",
  4067. "required": [
  4068. "asapplyid",
  4069. "buyorsell",
  4070. "goodscode",
  4071. "goodsgroupid",
  4072. "goodsgroupname",
  4073. "goodsname",
  4074. "tradeid"
  4075. ],
  4076. "properties": {
  4077. "accountid": {
  4078. "description": "账号ID",
  4079. "type": "integer"
  4080. },
  4081. "agreeunit": {
  4082. "description": "合约单位",
  4083. "type": "number"
  4084. },
  4085. "asapplyid": {
  4086. "description": "策略申请ID",
  4087. "type": "integer"
  4088. },
  4089. "asname": {
  4090. "description": "策略名称",
  4091. "type": "string"
  4092. },
  4093. "asno": {
  4094. "description": "策略编号",
  4095. "type": "string"
  4096. },
  4097. "buyorsell": {
  4098. "description": "方向 - 0:买 1:卖",
  4099. "type": "integer"
  4100. },
  4101. "channelbuildtype": {
  4102. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  4103. "type": "integer"
  4104. },
  4105. "closetype": {
  4106. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  4107. "type": "integer"
  4108. },
  4109. "decimalplace": {
  4110. "description": "报价小数位",
  4111. "type": "integer"
  4112. },
  4113. "detailtype": {
  4114. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  4115. "type": "integer"
  4116. },
  4117. "exexchangecode": {
  4118. "description": "外部交易所代码",
  4119. "type": "string"
  4120. },
  4121. "exexchangename": {
  4122. "description": "外部交易所名称",
  4123. "type": "string"
  4124. },
  4125. "goodscode": {
  4126. "description": "商品代码(合约)",
  4127. "type": "string"
  4128. },
  4129. "goodsgroupid": {
  4130. "description": "商品组ID(品种ID)",
  4131. "type": "integer"
  4132. },
  4133. "goodsgroupname": {
  4134. "description": "商品组名称(品种)",
  4135. "type": "string"
  4136. },
  4137. "goodsid": {
  4138. "description": "商品ID",
  4139. "type": "integer"
  4140. },
  4141. "goodsname": {
  4142. "description": "商品名称(合约)",
  4143. "type": "string"
  4144. },
  4145. "goodunit": {
  4146. "description": "报价单位",
  4147. "type": "string"
  4148. },
  4149. "marketid": {
  4150. "description": "市场ID",
  4151. "type": "integer"
  4152. },
  4153. "orderid": {
  4154. "description": "委托单号",
  4155. "type": "string"
  4156. },
  4157. "outgoodscode": {
  4158. "description": "商品代码(外部)",
  4159. "type": "string"
  4160. },
  4161. "relatedouttradeid": {
  4162. "description": "关联外部成交单ID",
  4163. "type": "string"
  4164. },
  4165. "remark": {
  4166. "description": "备注",
  4167. "type": "string"
  4168. },
  4169. "spotcontractid": {
  4170. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  4171. "type": "integer"
  4172. },
  4173. "spotcontractno": {
  4174. "description": "现货合同编号",
  4175. "type": "string"
  4176. },
  4177. "tradeid": {
  4178. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4179. "type": "string"
  4180. },
  4181. "tradeprice": {
  4182. "description": "成交价格",
  4183. "type": "number"
  4184. },
  4185. "tradeqty": {
  4186. "description": "成交数量",
  4187. "type": "integer"
  4188. },
  4189. "tradetime": {
  4190. "description": "成交时间",
  4191. "type": "string"
  4192. },
  4193. "updatetime": {
  4194. "description": "更新时间",
  4195. "type": "string"
  4196. }
  4197. }
  4198. },
  4199. "erms2.QuerySpotContractRsp": {
  4200. "type": "object",
  4201. "required": [
  4202. "spotcontractid"
  4203. ],
  4204. "properties": {
  4205. "accountid": {
  4206. "description": "资金账户ID",
  4207. "type": "integer"
  4208. },
  4209. "areauserid": {
  4210. "description": "所属机构",
  4211. "type": "integer"
  4212. },
  4213. "closedate": {
  4214. "description": "终止日期",
  4215. "type": "string"
  4216. },
  4217. "closeremark": {
  4218. "description": "结束备注",
  4219. "type": "string"
  4220. },
  4221. "closetradedate": {
  4222. "description": "完结交易日(yyyyMMdd)",
  4223. "type": "string"
  4224. },
  4225. "closetype": {
  4226. "description": "终止类型 - 1:违约 2:提前终止",
  4227. "type": "integer"
  4228. },
  4229. "contractamount": {
  4230. "description": "合同金额",
  4231. "type": "number"
  4232. },
  4233. "contractattachment": {
  4234. "description": "合同附件",
  4235. "type": "string"
  4236. },
  4237. "contractno": {
  4238. "description": "现货合同编号",
  4239. "type": "string"
  4240. },
  4241. "contractqty": {
  4242. "description": "合同数量(数值) (用于计算)",
  4243. "type": "number"
  4244. },
  4245. "contractqtychar": {
  4246. "description": "合同数量\\已订价数量 (用于显示)",
  4247. "type": "string"
  4248. },
  4249. "contractstatus": {
  4250. "description": "合同状态 - 0:未结束 1:已结束",
  4251. "type": "integer"
  4252. },
  4253. "contracttype": {
  4254. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  4255. "type": "integer"
  4256. },
  4257. "customeraccountid": {
  4258. "description": "客户资金账户ID",
  4259. "type": "integer"
  4260. },
  4261. "customeruserid": {
  4262. "description": "客户ID",
  4263. "type": "integer"
  4264. },
  4265. "deliverygoodsdesc": {
  4266. "description": "品种说明",
  4267. "type": "string"
  4268. },
  4269. "deliverygoodsid": {
  4270. "description": "现货品种ID",
  4271. "type": "integer"
  4272. },
  4273. "handlestatus": {
  4274. "description": "处理状态",
  4275. "type": "integer"
  4276. },
  4277. "invoiceatt": {
  4278. "description": "发票附件",
  4279. "type": "string"
  4280. },
  4281. "invoicedatetime": {
  4282. "description": "开收票更新时间",
  4283. "type": "string"
  4284. },
  4285. "invoiceopentime": {
  4286. "description": "开票时间",
  4287. "type": "string"
  4288. },
  4289. "invoiceremark": {
  4290. "description": "发票备注",
  4291. "type": "string"
  4292. },
  4293. "invoicestatus": {
  4294. "description": "开收票状态 - 0:未开票 1:已开票",
  4295. "type": "integer"
  4296. },
  4297. "lastdate": {
  4298. "description": "交货时间",
  4299. "type": "string"
  4300. },
  4301. "marketid": {
  4302. "description": "市场ID",
  4303. "type": "integer"
  4304. },
  4305. "paydatetime": {
  4306. "description": "收付款更新时间",
  4307. "type": "string"
  4308. },
  4309. "payremark": {
  4310. "description": "收付款备注",
  4311. "type": "string"
  4312. },
  4313. "paystatus": {
  4314. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  4315. "type": "integer"
  4316. },
  4317. "positionqty": {
  4318. "description": "头寸数量 - 合同数量去小数部分",
  4319. "type": "integer"
  4320. },
  4321. "producttype": {
  4322. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  4323. "type": "integer"
  4324. },
  4325. "relatedqty": {
  4326. "description": "已关联数量",
  4327. "type": "number"
  4328. },
  4329. "relatedstatus": {
  4330. "description": "关联完结状态 - 0:未结束 1:已结束",
  4331. "type": "integer"
  4332. },
  4333. "remark": {
  4334. "description": "备注",
  4335. "type": "string"
  4336. },
  4337. "signdate": {
  4338. "description": "签订日期",
  4339. "type": "string"
  4340. },
  4341. "spotcontractid": {
  4342. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  4343. "type": "string"
  4344. },
  4345. "spotdatetime": {
  4346. "description": "收发货更新时间",
  4347. "type": "string"
  4348. },
  4349. "spotprice": {
  4350. "description": "价格",
  4351. "type": "number"
  4352. },
  4353. "spotremark": {
  4354. "description": "收发货备注",
  4355. "type": "string"
  4356. },
  4357. "spotstatus": {
  4358. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  4359. "type": "integer"
  4360. },
  4361. "tradedate": {
  4362. "description": "交易日(yyyyMMdd)",
  4363. "type": "string"
  4364. },
  4365. "userid": {
  4366. "description": "业务员用户ID",
  4367. "type": "integer"
  4368. },
  4369. "warehouseid": {
  4370. "description": "仓库ID",
  4371. "type": "integer"
  4372. },
  4373. "wrfactortypeid": {
  4374. "description": "仓单要素类型ID",
  4375. "type": "integer"
  4376. },
  4377. "wrstandardid": {
  4378. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  4379. "type": "integer"
  4380. }
  4381. }
  4382. },
  4383. "erms3.AddSpotContractApplyReq": {
  4384. "type": "object",
  4385. "required": [
  4386. "accountid",
  4387. "areauserid",
  4388. "contractno",
  4389. "contracttype",
  4390. "customeraccountid",
  4391. "customeruserid",
  4392. "details",
  4393. "lastdate",
  4394. "marketid",
  4395. "orimargin",
  4396. "orimarginpayer",
  4397. "signdate"
  4398. ],
  4399. "properties": {
  4400. "accountid": {
  4401. "description": "资金账户ID",
  4402. "type": "integer"
  4403. },
  4404. "areauserid": {
  4405. "description": "所属机构",
  4406. "type": "integer"
  4407. },
  4408. "contractattachment": {
  4409. "description": "合同附件",
  4410. "type": "string"
  4411. },
  4412. "contractno": {
  4413. "description": "现货合同编号",
  4414. "type": "string"
  4415. },
  4416. "contracttype": {
  4417. "description": "现货合同类型 - 1:采购 -1:销售",
  4418. "type": "integer"
  4419. },
  4420. "creatorid": {
  4421. "description": "申请人",
  4422. "type": "integer"
  4423. },
  4424. "customeraccountid": {
  4425. "description": "客户资金账户ID",
  4426. "type": "integer"
  4427. },
  4428. "customeruserid": {
  4429. "description": "客户ID",
  4430. "type": "integer"
  4431. },
  4432. "details": {
  4433. "description": "明细",
  4434. "type": "array",
  4435. "items": {
  4436. "$ref": "#/definitions/erms3.SoptContractDetail"
  4437. }
  4438. },
  4439. "lastdate": {
  4440. "description": "交货时间",
  4441. "type": "string"
  4442. },
  4443. "marketid": {
  4444. "description": "市场ID",
  4445. "type": "integer"
  4446. },
  4447. "orimargin": {
  4448. "description": "初始保证金",
  4449. "type": "number"
  4450. },
  4451. "orimarginpayer": {
  4452. "description": "初始保证金支付方 -1:买方 2:卖方",
  4453. "type": "integer"
  4454. },
  4455. "remark": {
  4456. "description": "备注",
  4457. "type": "string"
  4458. },
  4459. "signdate": {
  4460. "description": "签订日期",
  4461. "type": "string"
  4462. }
  4463. }
  4464. },
  4465. "erms3.AddSpotContractApplyRsp": {
  4466. "type": "object",
  4467. "required": [
  4468. "contractno"
  4469. ],
  4470. "properties": {
  4471. "contractno": {
  4472. "description": "现货合同编号",
  4473. "type": "string"
  4474. },
  4475. "spotcontractid": {
  4476. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  4477. "type": "integer"
  4478. }
  4479. }
  4480. },
  4481. "erms3.CustomerInfo": {
  4482. "type": "object",
  4483. "required": [
  4484. "userid"
  4485. ],
  4486. "properties": {
  4487. "accountids": {
  4488. "description": "资金账户ID列表",
  4489. "type": "array",
  4490. "items": {
  4491. "type": "integer"
  4492. }
  4493. },
  4494. "customername": {
  4495. "description": "名称(企业名称)",
  4496. "type": "string"
  4497. },
  4498. "mobile": {
  4499. "description": "手机号码",
  4500. "type": "string"
  4501. },
  4502. "userid": {
  4503. "description": "用户ID",
  4504. "type": "integer"
  4505. }
  4506. }
  4507. },
  4508. "erms3.QuerySpotContractAppleFormRsp": {
  4509. "type": "object",
  4510. "properties": {
  4511. "goodses": {
  4512. "description": "合约列表",
  4513. "type": "array",
  4514. "items": {
  4515. "$ref": "#/definitions/models.GoodsInfo"
  4516. }
  4517. },
  4518. "oppositeusers": {
  4519. "description": "对方账号列表",
  4520. "type": "array",
  4521. "items": {
  4522. "$ref": "#/definitions/erms3.CustomerInfo"
  4523. }
  4524. },
  4525. "ouruser": {
  4526. "description": "我方账号",
  4527. "$ref": "#/definitions/erms3.CustomerInfo"
  4528. },
  4529. "warehouseinfos": {
  4530. "description": "仓库信息列表",
  4531. "type": "array",
  4532. "items": {
  4533. "$ref": "#/definitions/models.Warehouseinfo"
  4534. }
  4535. },
  4536. "wrstandards": {
  4537. "description": "仓单标准列表",
  4538. "type": "array",
  4539. "items": {
  4540. "$ref": "#/definitions/models.Wrstandard"
  4541. }
  4542. }
  4543. }
  4544. },
  4545. "erms3.SoptContractDetail": {
  4546. "type": "object",
  4547. "required": [
  4548. "deliverygoodsid",
  4549. "producttype",
  4550. "unitname",
  4551. "warehouseid",
  4552. "wrstandardid",
  4553. "wrstandardname"
  4554. ],
  4555. "properties": {
  4556. "deliverygoodsdesc": {
  4557. "description": "现货品种说明",
  4558. "type": "string"
  4559. },
  4560. "deliverygoodsid": {
  4561. "description": "现货品种ID",
  4562. "type": "integer"
  4563. },
  4564. "deliverygoodsname": {
  4565. "description": "现货品种名称",
  4566. "type": "string"
  4567. },
  4568. "pointdesc": {
  4569. "description": "点价描述",
  4570. "type": "string"
  4571. },
  4572. "producttype": {
  4573. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  4574. "type": "integer"
  4575. },
  4576. "producttypename": {
  4577. "description": "产品类型名称",
  4578. "type": "string"
  4579. },
  4580. "spotPointOrderVoList": {
  4581. "description": "点价列表",
  4582. "type": "array",
  4583. "items": {
  4584. "$ref": "#/definitions/erms3.SpotPointOrder"
  4585. }
  4586. },
  4587. "spotPriceOrderList": {
  4588. "description": "定价列表",
  4589. "type": "array",
  4590. "items": {
  4591. "$ref": "#/definitions/erms3.SpotPriceOrder"
  4592. }
  4593. },
  4594. "unitname": {
  4595. "description": "单位名称",
  4596. "type": "string"
  4597. },
  4598. "warehouseid": {
  4599. "description": "仓库ID",
  4600. "type": "integer"
  4601. },
  4602. "warehousename": {
  4603. "description": "仓库名称",
  4604. "type": "integer"
  4605. },
  4606. "wrstandardid": {
  4607. "description": "交易标的ID",
  4608. "type": "integer"
  4609. },
  4610. "wrstandardname": {
  4611. "description": "交易标的名称",
  4612. "type": "string"
  4613. }
  4614. }
  4615. },
  4616. "erms3.SpotPointOrder": {
  4617. "type": "object",
  4618. "required": [
  4619. "basic",
  4620. "enddate",
  4621. "goodsid",
  4622. "qty",
  4623. "startdate"
  4624. ],
  4625. "properties": {
  4626. "basic": {
  4627. "description": "基差",
  4628. "type": "number"
  4629. },
  4630. "enddate": {
  4631. "description": "点价结束日期",
  4632. "type": "string"
  4633. },
  4634. "goodsid": {
  4635. "description": "商品ID",
  4636. "type": "integer"
  4637. },
  4638. "goodsname": {
  4639. "description": "商品名称",
  4640. "type": "string"
  4641. },
  4642. "qty": {
  4643. "description": "数量",
  4644. "type": "number"
  4645. },
  4646. "startdate": {
  4647. "description": "点价开始日期",
  4648. "type": "string"
  4649. }
  4650. }
  4651. },
  4652. "erms3.SpotPriceOrder": {
  4653. "type": "object",
  4654. "required": [
  4655. "amount",
  4656. "price",
  4657. "qty"
  4658. ],
  4659. "properties": {
  4660. "amount": {
  4661. "description": "金额",
  4662. "type": "number"
  4663. },
  4664. "price": {
  4665. "description": "价格",
  4666. "type": "number"
  4667. },
  4668. "qty": {
  4669. "description": "数量",
  4670. "type": "number"
  4671. }
  4672. }
  4673. },
  4674. "hsby.GetHsbyMyCountRsp": {
  4675. "type": "object",
  4676. "properties": {
  4677. "myOrderDetailListingCount": {
  4678. "description": "我的订单求购中数量",
  4679. "type": "integer"
  4680. },
  4681. "myOrderDetailPreCount": {
  4682. "description": "我的订单抢购中数量",
  4683. "type": "integer"
  4684. },
  4685. "myPackageUnReceiveCount": {
  4686. "description": "我的包裹待收货数量",
  4687. "type": "integer"
  4688. },
  4689. "myPackageUnSendCount": {
  4690. "description": "我的包裹待发货数量",
  4691. "type": "integer"
  4692. }
  4693. }
  4694. },
  4695. "hsby.QueryProvincesAndCitiesRsp": {
  4696. "type": "object",
  4697. "properties": {
  4698. "cities": {
  4699. "description": "市",
  4700. "type": "array",
  4701. "items": {
  4702. "$ref": "#/definitions/models.Division"
  4703. }
  4704. },
  4705. "province": {
  4706. "description": "省",
  4707. "$ref": "#/definitions/models.Division"
  4708. }
  4709. }
  4710. },
  4711. "models.Division": {
  4712. "type": "object",
  4713. "required": [
  4714. "autoid",
  4715. "divisioncode"
  4716. ],
  4717. "properties": {
  4718. "autoid": {
  4719. "description": "自增ID",
  4720. "type": "integer"
  4721. },
  4722. "divisioncode": {
  4723. "description": "行政代码",
  4724. "type": "string"
  4725. },
  4726. "divisionlevel": {
  4727. "description": "行政级别",
  4728. "type": "string"
  4729. },
  4730. "divisionname": {
  4731. "description": "行政名称",
  4732. "type": "string"
  4733. },
  4734. "modifierid": {
  4735. "description": "修改人",
  4736. "type": "integer"
  4737. },
  4738. "modifytime": {
  4739. "description": "修改时间",
  4740. "type": "string"
  4741. },
  4742. "parentcode": {
  4743. "description": "上级行政代码",
  4744. "type": "string"
  4745. },
  4746. "pathname": {
  4747. "description": "路径名称",
  4748. "type": "string"
  4749. },
  4750. "postcode": {
  4751. "description": "邮政编码",
  4752. "type": "string"
  4753. },
  4754. "separablename": {
  4755. "description": "可拆分的全称",
  4756. "type": "string"
  4757. },
  4758. "shortcode": {
  4759. "description": "地区简码",
  4760. "type": "string"
  4761. }
  4762. }
  4763. },
  4764. "models.GoodsInfo": {
  4765. "type": "object",
  4766. "required": [
  4767. "goodscode",
  4768. "goodsid",
  4769. "goodsname",
  4770. "marketid"
  4771. ],
  4772. "properties": {
  4773. "agreeunit": {
  4774. "description": "合约单位",
  4775. "type": "number"
  4776. },
  4777. "auditaccountid": {
  4778. "description": "审核操作员账号",
  4779. "type": "integer"
  4780. },
  4781. "audittime": {
  4782. "description": "审核时间",
  4783. "type": "string"
  4784. },
  4785. "cancelaccountid": {
  4786. "description": "注销操作员账号",
  4787. "type": "integer"
  4788. },
  4789. "canceltime": {
  4790. "description": "注销时间",
  4791. "type": "string"
  4792. },
  4793. "closepricemode": {
  4794. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  4795. "type": "integer"
  4796. },
  4797. "closepriceparam": {
  4798. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  4799. "type": "number"
  4800. },
  4801. "createtime": {
  4802. "description": "创建时间",
  4803. "type": "string"
  4804. },
  4805. "creatorid": {
  4806. "description": "创建人",
  4807. "type": "integer"
  4808. },
  4809. "currencyid": {
  4810. "description": "报价货币ID",
  4811. "type": "integer"
  4812. },
  4813. "cutmode": {
  4814. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  4815. "type": "integer"
  4816. },
  4817. "decimalplace": {
  4818. "description": "报价小数位",
  4819. "type": "integer"
  4820. },
  4821. "delistingdate": {
  4822. "description": "商品退市时间(状态:退市) -- 已作废",
  4823. "type": "string"
  4824. },
  4825. "delistingmode": {
  4826. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  4827. "type": "integer"
  4828. },
  4829. "deliveryflag": {
  4830. "description": "交割标志 - 0:不可交割 1:可交割",
  4831. "type": "integer"
  4832. },
  4833. "forceclosemode": {
  4834. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  4835. "type": "integer"
  4836. },
  4837. "forceclosevalue": {
  4838. "description": "定期强平参数 [收益权]",
  4839. "type": "integer"
  4840. },
  4841. "goodscode": {
  4842. "description": "商品代码(内部)",
  4843. "type": "string"
  4844. },
  4845. "goodscurrencyid": {
  4846. "description": "合约货币ID",
  4847. "type": "integer"
  4848. },
  4849. "goodsgroupid": {
  4850. "description": "所属商品组ID",
  4851. "type": "integer"
  4852. },
  4853. "goodsid": {
  4854. "description": "商品ID(自增ID SEQ_GOODS)",
  4855. "type": "integer"
  4856. },
  4857. "goodsname": {
  4858. "description": "商品名称",
  4859. "type": "string"
  4860. },
  4861. "goodsquotetype": {
  4862. "description": "合约报价类型: 1-直接报价 2-间接报价",
  4863. "type": "integer"
  4864. },
  4865. "goodsstatus": {
  4866. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  4867. "type": "integer"
  4868. },
  4869. "goodstradetype": {
  4870. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  4871. "type": "integer"
  4872. },
  4873. "goodsunit": {
  4874. "description": "报价单位",
  4875. "type": "string"
  4876. },
  4877. "goodunitid": {
  4878. "description": "报价单位ID",
  4879. "type": "integer"
  4880. },
  4881. "hasquoter": {
  4882. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  4883. "type": "integer"
  4884. },
  4885. "hqprotecttime": {
  4886. "description": "行情保护时间(秒)",
  4887. "type": "integer"
  4888. },
  4889. "innerdealmode": {
  4890. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  4891. "type": "integer"
  4892. },
  4893. "isbuylimited": {
  4894. "description": "是否限制建仓量 - 0:不限制 1:限制",
  4895. "type": "integer"
  4896. },
  4897. "lasttradedate": {
  4898. "description": "最后交易日期(状态:待退市)",
  4899. "type": "string"
  4900. },
  4901. "listingdate": {
  4902. "description": "交易开始日期",
  4903. "type": "string"
  4904. },
  4905. "marketid": {
  4906. "description": "所属市场ID",
  4907. "type": "integer"
  4908. },
  4909. "modifierid": {
  4910. "description": "修改人",
  4911. "type": "integer"
  4912. },
  4913. "modifystatus": {
  4914. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  4915. "type": "integer"
  4916. },
  4917. "modifytime": {
  4918. "description": "修改时间",
  4919. "type": "string"
  4920. },
  4921. "outerdealmode": {
  4922. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  4923. "type": "integer"
  4924. },
  4925. "outgoodscode": {
  4926. "description": "商品代码(外部)",
  4927. "type": "string"
  4928. },
  4929. "qtydecimalplace": {
  4930. "description": "成交量小数位",
  4931. "type": "integer"
  4932. },
  4933. "quotegear": {
  4934. "description": "行情档位(1-10)",
  4935. "type": "integer"
  4936. },
  4937. "quoteminunit": {
  4938. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  4939. "type": "integer"
  4940. },
  4941. "quoteshowtype": {
  4942. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  4943. "type": "integer"
  4944. },
  4945. "quoteshowtypeinterval": {
  4946. "description": "行情报价间隔时间(秒)(成交价时为0)",
  4947. "type": "integer"
  4948. },
  4949. "remark": {
  4950. "description": "备注",
  4951. "type": "string"
  4952. }
  4953. }
  4954. },
  4955. "models.HsbyBuyMyTradeDetail": {
  4956. "type": "object",
  4957. "required": [
  4958. "accountid",
  4959. "buyorsell",
  4960. "goodscode",
  4961. "goodsid",
  4962. "goodsname",
  4963. "marketid",
  4964. "orderid",
  4965. "qty",
  4966. "time",
  4967. "trademode"
  4968. ],
  4969. "properties": {
  4970. "accountid": {
  4971. "description": "账户ID[报价币种]",
  4972. "type": "integer"
  4973. },
  4974. "agreeunit": {
  4975. "description": "合约单位",
  4976. "type": "number"
  4977. },
  4978. "amount": {
  4979. "description": "金额 = 价格 * 数量 * 合约单位",
  4980. "type": "number"
  4981. },
  4982. "buyorsell": {
  4983. "description": "买卖 - 0:买 1:卖",
  4984. "type": "integer"
  4985. },
  4986. "currencysign": {
  4987. "description": "货币符号",
  4988. "type": "string"
  4989. },
  4990. "decimalplace": {
  4991. "description": "报价小数位",
  4992. "type": "integer"
  4993. },
  4994. "goodscode": {
  4995. "description": "商品代码(内部)",
  4996. "type": "string"
  4997. },
  4998. "goodsid": {
  4999. "description": "商品ID",
  5000. "type": "integer"
  5001. },
  5002. "goodsname": {
  5003. "description": "商品名称",
  5004. "type": "string"
  5005. },
  5006. "marketid": {
  5007. "description": "市场ID",
  5008. "type": "integer"
  5009. },
  5010. "orderid": {
  5011. "description": "单号(成交单号)",
  5012. "type": "string"
  5013. },
  5014. "picurls1": {
  5015. "description": "预售商品介绍图片[多张用逗号分隔]",
  5016. "type": "string"
  5017. },
  5018. "picurls2": {
  5019. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  5020. "type": "string"
  5021. },
  5022. "price": {
  5023. "description": "价格",
  5024. "type": "number"
  5025. },
  5026. "qty": {
  5027. "description": "数量",
  5028. "type": "integer"
  5029. },
  5030. "time": {
  5031. "description": "时间",
  5032. "type": "string"
  5033. },
  5034. "trademode": {
  5035. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5036. "type": "integer"
  5037. },
  5038. "vendorname1": {
  5039. "description": "预售商品供应商名称",
  5040. "type": "string"
  5041. },
  5042. "vendorname2": {
  5043. "description": "挂牌商品供应商名称",
  5044. "type": "string"
  5045. }
  5046. }
  5047. },
  5048. "models.HsbyGoodsOrderDetail": {
  5049. "type": "object",
  5050. "required": [
  5051. "buyorsell",
  5052. "orderid",
  5053. "ordertime"
  5054. ],
  5055. "properties": {
  5056. "buyorsell": {
  5057. "description": "买卖 - 0:买 1:卖",
  5058. "type": "integer"
  5059. },
  5060. "currencysign": {
  5061. "description": "货币符号",
  5062. "type": "string"
  5063. },
  5064. "customername": {
  5065. "description": "客户名称(企业名称),已脱敏",
  5066. "type": "string"
  5067. },
  5068. "enableqty": {
  5069. "description": "可用数量",
  5070. "type": "integer"
  5071. },
  5072. "goodunit": {
  5073. "description": "报价单位",
  5074. "type": "string"
  5075. },
  5076. "orderid": {
  5077. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5078. "type": "string"
  5079. },
  5080. "orderprice": {
  5081. "description": "委托价格",
  5082. "type": "number"
  5083. },
  5084. "ordertime": {
  5085. "description": "委托时间",
  5086. "type": "string"
  5087. }
  5088. }
  5089. },
  5090. "models.HsbyListingGoodsDetail": {
  5091. "type": "object",
  5092. "required": [
  5093. "goodscode",
  5094. "goodsid",
  5095. "goodsname",
  5096. "marketid",
  5097. "trademode"
  5098. ],
  5099. "properties": {
  5100. "agreeunit": {
  5101. "description": "合约单位",
  5102. "type": "number"
  5103. },
  5104. "currency": {
  5105. "description": "货币",
  5106. "type": "string"
  5107. },
  5108. "currencysign": {
  5109. "description": "货币符号",
  5110. "type": "string"
  5111. },
  5112. "decimalplace": {
  5113. "description": "报价小数位",
  5114. "type": "integer"
  5115. },
  5116. "desccityid": {
  5117. "description": "目的地(市)ID",
  5118. "type": "integer"
  5119. },
  5120. "descprovinceid": {
  5121. "description": "目的地(省)ID",
  5122. "type": "integer"
  5123. },
  5124. "goodscode": {
  5125. "description": "商品代码(内部)",
  5126. "type": "string"
  5127. },
  5128. "goodsdesc": {
  5129. "description": "商品详情",
  5130. "type": "string"
  5131. },
  5132. "goodsid": {
  5133. "description": "商品ID(自增ID SEQ_GOODS)",
  5134. "type": "integer"
  5135. },
  5136. "goodsname": {
  5137. "description": "商品名称",
  5138. "type": "string"
  5139. },
  5140. "hotindex": {
  5141. "description": "景点热度",
  5142. "type": "integer"
  5143. },
  5144. "last": {
  5145. "description": "现价",
  5146. "type": "number"
  5147. },
  5148. "limitdown": {
  5149. "description": "跌停价",
  5150. "type": "number"
  5151. },
  5152. "limitup": {
  5153. "description": "涨停价",
  5154. "type": "number"
  5155. },
  5156. "lotsize": {
  5157. "description": "手数最小变动单位",
  5158. "type": "integer"
  5159. },
  5160. "marketid": {
  5161. "description": "所属市场ID",
  5162. "type": "integer"
  5163. },
  5164. "picurls": {
  5165. "description": "介绍图片[多张用逗号分隔]",
  5166. "type": "string"
  5167. },
  5168. "quoteminunit": {
  5169. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  5170. "type": "integer"
  5171. },
  5172. "stepvalue": {
  5173. "description": "价格最小变动单位",
  5174. "type": "number"
  5175. },
  5176. "trademode": {
  5177. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5178. "type": "integer"
  5179. },
  5180. "vendorattr": {
  5181. "description": "供应商附件(多张,逗号分隔)",
  5182. "type": "string"
  5183. },
  5184. "vendorname": {
  5185. "description": "供应商名称",
  5186. "type": "string"
  5187. },
  5188. "vendorphone": {
  5189. "description": "供应商客服电话",
  5190. "type": "string"
  5191. },
  5192. "videourls": {
  5193. "description": "介绍视频[多张用逗号分隔]",
  5194. "type": "string"
  5195. }
  5196. }
  5197. },
  5198. "models.HsbyMyGoods": {
  5199. "type": "object",
  5200. "required": [
  5201. "accountid",
  5202. "goodscode",
  5203. "goodsid",
  5204. "goodsname"
  5205. ],
  5206. "properties": {
  5207. "accountid": {
  5208. "description": "账号Id",
  5209. "type": "integer"
  5210. },
  5211. "agreeunit": {
  5212. "description": "合约单位",
  5213. "type": "number"
  5214. },
  5215. "buyaverageprice": {
  5216. "description": "持仓均价",
  5217. "type": "number"
  5218. },
  5219. "buycurholderamount": {
  5220. "description": "买当前持仓总金额[商品币种]",
  5221. "type": "number"
  5222. },
  5223. "buycurpositionqty": {
  5224. "description": "买当前持仓总数量",
  5225. "type": "integer"
  5226. },
  5227. "currencysign": {
  5228. "description": "货币符号",
  5229. "type": "string"
  5230. },
  5231. "decimalplace": {
  5232. "description": "报价小数位",
  5233. "type": "integer"
  5234. },
  5235. "enableqty": {
  5236. "description": "可用数量",
  5237. "type": "integer"
  5238. },
  5239. "goodscode": {
  5240. "description": "商品代码(内部)",
  5241. "type": "string"
  5242. },
  5243. "goodsid": {
  5244. "description": "商品Id",
  5245. "type": "integer"
  5246. },
  5247. "goodsname": {
  5248. "description": "商品名称",
  5249. "type": "string"
  5250. },
  5251. "goodsstatus": {
  5252. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  5253. "type": "integer"
  5254. },
  5255. "picurls": {
  5256. "description": "介绍图片[多张用逗号分隔]",
  5257. "type": "string"
  5258. }
  5259. }
  5260. },
  5261. "models.HsbyMyPackage": {
  5262. "type": "object",
  5263. "required": [
  5264. "goodscode",
  5265. "goodsname",
  5266. "takeorderid"
  5267. ],
  5268. "properties": {
  5269. "accountid": {
  5270. "description": "账户ID",
  5271. "type": "integer"
  5272. },
  5273. "address": {
  5274. "description": "提货人详细地址",
  5275. "type": "string"
  5276. },
  5277. "agreeunit": {
  5278. "description": "合约单位",
  5279. "type": "number"
  5280. },
  5281. "amount": {
  5282. "description": "提货金额",
  5283. "type": "number"
  5284. },
  5285. "auditer": {
  5286. "description": "审核人",
  5287. "type": "integer"
  5288. },
  5289. "audittime": {
  5290. "description": "审核时间",
  5291. "type": "string"
  5292. },
  5293. "averageprice": {
  5294. "description": "均价",
  5295. "type": "number"
  5296. },
  5297. "cardnum": {
  5298. "description": "提货人证件号码",
  5299. "type": "string"
  5300. },
  5301. "cardtypeid": {
  5302. "description": "提货人证件类型",
  5303. "type": "integer"
  5304. },
  5305. "checkremark": {
  5306. "description": "审核备注",
  5307. "type": "string"
  5308. },
  5309. "currencysign": {
  5310. "description": "货币符号",
  5311. "type": "string"
  5312. },
  5313. "decimalplace": {
  5314. "description": "报价小数位",
  5315. "type": "integer"
  5316. },
  5317. "goodscode": {
  5318. "description": "商品代码(内部)",
  5319. "type": "string"
  5320. },
  5321. "goodsid": {
  5322. "description": "商品ID",
  5323. "type": "integer"
  5324. },
  5325. "goodsname": {
  5326. "description": "商品名称",
  5327. "type": "string"
  5328. },
  5329. "handlestatus": {
  5330. "description": "处理状态",
  5331. "type": "integer"
  5332. },
  5333. "marketid": {
  5334. "description": "市场ID",
  5335. "type": "integer"
  5336. },
  5337. "phonenum": {
  5338. "description": "提货人联系方式",
  5339. "type": "string"
  5340. },
  5341. "picurls": {
  5342. "description": "介绍图片[多张用逗号分隔]",
  5343. "type": "string"
  5344. },
  5345. "qty": {
  5346. "description": "提货数量",
  5347. "type": "number"
  5348. },
  5349. "recivername": {
  5350. "description": "提货人姓名",
  5351. "type": "string"
  5352. },
  5353. "reqtime": {
  5354. "description": "更新时间",
  5355. "type": "string"
  5356. },
  5357. "takemode": {
  5358. "description": "提货方式 - 2:自提 3:配送",
  5359. "type": "integer"
  5360. },
  5361. "takeorderid": {
  5362. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  5363. "type": "string"
  5364. },
  5365. "takeorderstatus": {
  5366. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5367. "type": "integer"
  5368. },
  5369. "takeremark": {
  5370. "description": "提货备注",
  5371. "type": "string"
  5372. },
  5373. "tradedate": {
  5374. "description": "交易日(yyyyMMdd)",
  5375. "type": "string"
  5376. },
  5377. "userid": {
  5378. "description": "用户ID",
  5379. "type": "integer"
  5380. },
  5381. "vendorname": {
  5382. "description": "供应商名称",
  5383. "type": "string"
  5384. }
  5385. }
  5386. },
  5387. "models.HsbyPreGoods": {
  5388. "type": "object",
  5389. "required": [
  5390. "goodscode",
  5391. "goodsid",
  5392. "goodsname",
  5393. "marketid",
  5394. "trademode"
  5395. ],
  5396. "properties": {
  5397. "agreeunit": {
  5398. "description": "合约单位",
  5399. "type": "number"
  5400. },
  5401. "currency": {
  5402. "description": "货币",
  5403. "type": "string"
  5404. },
  5405. "currencysign": {
  5406. "description": "货币符号",
  5407. "type": "string"
  5408. },
  5409. "decimalplace": {
  5410. "description": "报价小数位",
  5411. "type": "integer"
  5412. },
  5413. "enableqty": {
  5414. "description": "剩余数量",
  5415. "type": "integer"
  5416. },
  5417. "goodscode": {
  5418. "description": "商品代码(内部)",
  5419. "type": "string"
  5420. },
  5421. "goodsid": {
  5422. "description": "商品ID(自增ID SEQ_GOODS)",
  5423. "type": "integer"
  5424. },
  5425. "goodsname": {
  5426. "description": "商品名称",
  5427. "type": "string"
  5428. },
  5429. "goodsstatus": {
  5430. "description": "商品状态- 2:未上市 3:上市",
  5431. "type": "integer"
  5432. },
  5433. "lasttradedate": {
  5434. "description": "最后交易日期(状态:待退市)",
  5435. "type": "string"
  5436. },
  5437. "listingdate": {
  5438. "description": "交易开始日期",
  5439. "type": "string"
  5440. },
  5441. "marketid": {
  5442. "description": "所属市场ID",
  5443. "type": "integer"
  5444. },
  5445. "picurls": {
  5446. "description": "介绍图片[多张用逗号分隔]",
  5447. "type": "string"
  5448. },
  5449. "presaledqty": {
  5450. "description": "已预售量(预售结束时更新)",
  5451. "type": "integer"
  5452. },
  5453. "presaleqty": {
  5454. "description": "预售数量",
  5455. "type": "integer"
  5456. },
  5457. "quoteminunit": {
  5458. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  5459. "type": "integer"
  5460. },
  5461. "refprice": {
  5462. "description": "参考价格[一口价]",
  5463. "type": "number"
  5464. },
  5465. "relatedgoodsid": {
  5466. "description": "关联交易合约ID",
  5467. "type": "integer"
  5468. },
  5469. "trademode": {
  5470. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5471. "type": "integer"
  5472. },
  5473. "videourls": {
  5474. "description": "介绍视频[多张用逗号分隔]",
  5475. "type": "string"
  5476. }
  5477. }
  5478. },
  5479. "models.HsbyPreGoodsDetail": {
  5480. "type": "object",
  5481. "required": [
  5482. "goodscode",
  5483. "goodsid",
  5484. "goodsname",
  5485. "marketid",
  5486. "trademode"
  5487. ],
  5488. "properties": {
  5489. "agreeunit": {
  5490. "description": "合约单位",
  5491. "type": "number"
  5492. },
  5493. "buymaxqty": {
  5494. "description": "购买上限 [71] - 0为不限",
  5495. "type": "integer"
  5496. },
  5497. "currency": {
  5498. "description": "货币",
  5499. "type": "string"
  5500. },
  5501. "currencysign": {
  5502. "description": "货币符号",
  5503. "type": "string"
  5504. },
  5505. "customername": {
  5506. "description": "发行单位",
  5507. "type": "string"
  5508. },
  5509. "decimalplace": {
  5510. "description": "报价小数位",
  5511. "type": "integer"
  5512. },
  5513. "desccityid": {
  5514. "description": "目的地(市)ID",
  5515. "type": "integer"
  5516. },
  5517. "descprovinceid": {
  5518. "description": "目的地(省)ID",
  5519. "type": "integer"
  5520. },
  5521. "enableqty": {
  5522. "description": "剩余数量",
  5523. "type": "integer"
  5524. },
  5525. "goodscode": {
  5526. "description": "商品代码(内部)",
  5527. "type": "string"
  5528. },
  5529. "goodsdesc": {
  5530. "description": "商品详情",
  5531. "type": "string"
  5532. },
  5533. "goodsid": {
  5534. "description": "商品ID(自增ID SEQ_GOODS)",
  5535. "type": "integer"
  5536. },
  5537. "goodsname": {
  5538. "description": "商品名称",
  5539. "type": "string"
  5540. },
  5541. "goodsstatus": {
  5542. "description": "商品状态- 2:未上市 3:上市",
  5543. "type": "integer"
  5544. },
  5545. "goodunit": {
  5546. "description": "报价单位",
  5547. "type": "string"
  5548. },
  5549. "lasttradedate": {
  5550. "description": "最后交易日期(状态:待退市)",
  5551. "type": "string"
  5552. },
  5553. "listingdate": {
  5554. "description": "交易开始日期",
  5555. "type": "string"
  5556. },
  5557. "lotsize": {
  5558. "description": "手数最小变动单位",
  5559. "type": "integer"
  5560. },
  5561. "marketid": {
  5562. "description": "所属市场ID",
  5563. "type": "integer"
  5564. },
  5565. "picurls": {
  5566. "description": "介绍图片[多张用逗号分隔]",
  5567. "type": "string"
  5568. },
  5569. "presaledqty": {
  5570. "description": "已预售量(预售结束时更新)",
  5571. "type": "integer"
  5572. },
  5573. "presaleqty": {
  5574. "description": "预售数量",
  5575. "type": "integer"
  5576. },
  5577. "quoteminunit": {
  5578. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  5579. "type": "integer"
  5580. },
  5581. "refprice": {
  5582. "description": "参考价格[一口价]",
  5583. "type": "number"
  5584. },
  5585. "relatedgoodsid": {
  5586. "description": "关联交易合约ID",
  5587. "type": "integer"
  5588. },
  5589. "stepvalue": {
  5590. "description": "价格最小变动单位",
  5591. "type": "number"
  5592. },
  5593. "trademode": {
  5594. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5595. "type": "integer"
  5596. },
  5597. "vendorattr": {
  5598. "description": "供应商附件(多张,逗号分隔)",
  5599. "type": "string"
  5600. },
  5601. "vendorname": {
  5602. "description": "供应商名称",
  5603. "type": "string"
  5604. },
  5605. "vendorphone": {
  5606. "description": "供应商客服电话",
  5607. "type": "string"
  5608. },
  5609. "videourls": {
  5610. "description": "介绍视频[多张用逗号分隔]",
  5611. "type": "string"
  5612. }
  5613. }
  5614. },
  5615. "models.HsbySellMyDetail": {
  5616. "type": "object",
  5617. "required": [
  5618. "accountid",
  5619. "buyorsell",
  5620. "goodscode",
  5621. "goodsid",
  5622. "goodsname",
  5623. "marketid",
  5624. "orderid",
  5625. "qty",
  5626. "time",
  5627. "trademode"
  5628. ],
  5629. "properties": {
  5630. "accountid": {
  5631. "description": "账户ID[报价币种]",
  5632. "type": "integer"
  5633. },
  5634. "agreeunit": {
  5635. "description": "合约单位",
  5636. "type": "number"
  5637. },
  5638. "amount": {
  5639. "description": "金额 = 价格 * 数量 * 合约单位",
  5640. "type": "number"
  5641. },
  5642. "buyorsell": {
  5643. "description": "买卖 - 0:买 1:卖",
  5644. "type": "integer"
  5645. },
  5646. "currencysign": {
  5647. "description": "货币符号",
  5648. "type": "string"
  5649. },
  5650. "decimalplace": {
  5651. "description": "报价小数位",
  5652. "type": "integer"
  5653. },
  5654. "goodscode": {
  5655. "description": "商品代码(内部)",
  5656. "type": "string"
  5657. },
  5658. "goodsid": {
  5659. "description": "商品ID",
  5660. "type": "integer"
  5661. },
  5662. "goodsname": {
  5663. "description": "商品名称",
  5664. "type": "string"
  5665. },
  5666. "marketid": {
  5667. "description": "市场ID",
  5668. "type": "integer"
  5669. },
  5670. "orderid": {
  5671. "description": "单号(已发布 - 委托单号;已完成 - 成交单号)",
  5672. "type": "string"
  5673. },
  5674. "ordertype": {
  5675. "description": "单据类型:0 - 已发布, 1 - 已完成",
  5676. "type": "integer"
  5677. },
  5678. "picurls": {
  5679. "description": "介绍图片[多张用逗号分隔]",
  5680. "type": "string"
  5681. },
  5682. "price": {
  5683. "description": "价格",
  5684. "type": "number"
  5685. },
  5686. "qty": {
  5687. "description": "数量",
  5688. "type": "integer"
  5689. },
  5690. "time": {
  5691. "description": "时间",
  5692. "type": "string"
  5693. },
  5694. "trademode": {
  5695. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5696. "type": "integer"
  5697. },
  5698. "vendorname": {
  5699. "description": "供应商名称",
  5700. "type": "string"
  5701. }
  5702. }
  5703. },
  5704. "models.HsbyTopGoods": {
  5705. "type": "object",
  5706. "required": [
  5707. "goodscode",
  5708. "goodsid",
  5709. "goodsname",
  5710. "marketid",
  5711. "trademode"
  5712. ],
  5713. "properties": {
  5714. "agreeunit": {
  5715. "description": "合约单位",
  5716. "type": "number"
  5717. },
  5718. "currency": {
  5719. "description": "货币",
  5720. "type": "string"
  5721. },
  5722. "currencysign": {
  5723. "description": "货币符号",
  5724. "type": "string"
  5725. },
  5726. "decimalplace": {
  5727. "description": "报价小数位",
  5728. "type": "integer"
  5729. },
  5730. "goodscode": {
  5731. "description": "商品代码(内部)",
  5732. "type": "string"
  5733. },
  5734. "goodsid": {
  5735. "description": "商品ID(自增ID SEQ_GOODS)",
  5736. "type": "integer"
  5737. },
  5738. "goodsname": {
  5739. "description": "商品名称",
  5740. "type": "string"
  5741. },
  5742. "hotindex": {
  5743. "description": "景点热度",
  5744. "type": "integer"
  5745. },
  5746. "last": {
  5747. "description": "现价",
  5748. "type": "number"
  5749. },
  5750. "marketid": {
  5751. "description": "所属市场ID",
  5752. "type": "integer"
  5753. },
  5754. "picurls": {
  5755. "description": "介绍图片[多张用逗号分隔]",
  5756. "type": "string"
  5757. },
  5758. "quoteminunit": {
  5759. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  5760. "type": "integer"
  5761. },
  5762. "trademode": {
  5763. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5764. "type": "integer"
  5765. },
  5766. "videourls": {
  5767. "description": "介绍视频[多张用逗号分隔]",
  5768. "type": "string"
  5769. }
  5770. }
  5771. },
  5772. "models.HybsMyBuyOrderDetail": {
  5773. "type": "object",
  5774. "required": [
  5775. "accountid",
  5776. "buyorsell",
  5777. "goodscode",
  5778. "goodsid",
  5779. "goodsname",
  5780. "marketid",
  5781. "orderid",
  5782. "orderqty",
  5783. "ordertime",
  5784. "trademode"
  5785. ],
  5786. "properties": {
  5787. "accountid": {
  5788. "description": "账户ID[报价币种]",
  5789. "type": "integer"
  5790. },
  5791. "agreeunit": {
  5792. "description": "合约单位",
  5793. "type": "number"
  5794. },
  5795. "buyorsell": {
  5796. "description": "买卖 - 0:买 1:卖",
  5797. "type": "integer"
  5798. },
  5799. "cancelqty": {
  5800. "description": "撤单数量",
  5801. "type": "integer"
  5802. },
  5803. "currencysign": {
  5804. "description": "货币符号",
  5805. "type": "string"
  5806. },
  5807. "decimalplace": {
  5808. "description": "报价小数位",
  5809. "type": "integer"
  5810. },
  5811. "goodscode": {
  5812. "description": "商品代码(内部)",
  5813. "type": "string"
  5814. },
  5815. "goodsid": {
  5816. "description": "商品ID",
  5817. "type": "integer"
  5818. },
  5819. "goodsname": {
  5820. "description": "商品名称",
  5821. "type": "string"
  5822. },
  5823. "listingselecttype": {
  5824. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5825. "type": "integer"
  5826. },
  5827. "marketid": {
  5828. "description": "市场ID",
  5829. "type": "integer"
  5830. },
  5831. "mybuystatus": {
  5832. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  5833. "type": "integer"
  5834. },
  5835. "orderamount": {
  5836. "description": "委托金额",
  5837. "type": "number"
  5838. },
  5839. "orderid": {
  5840. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5841. "type": "string"
  5842. },
  5843. "orderprice": {
  5844. "description": "委托价格",
  5845. "type": "number"
  5846. },
  5847. "orderqty": {
  5848. "description": "委托数量",
  5849. "type": "integer"
  5850. },
  5851. "orderstatus": {
  5852. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  5853. "type": "integer"
  5854. },
  5855. "ordertime": {
  5856. "description": "委托时间",
  5857. "type": "string"
  5858. },
  5859. "picurls1": {
  5860. "description": "预售商品介绍图片[多张用逗号分隔]",
  5861. "type": "string"
  5862. },
  5863. "picurls2": {
  5864. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  5865. "type": "string"
  5866. },
  5867. "trademode": {
  5868. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5869. "type": "integer"
  5870. },
  5871. "tradeqty": {
  5872. "description": "成交数量",
  5873. "type": "integer"
  5874. },
  5875. "vendorname1": {
  5876. "description": "预售商品供应商名称",
  5877. "type": "string"
  5878. },
  5879. "vendorname2": {
  5880. "description": "挂牌商品供应商名称",
  5881. "type": "string"
  5882. }
  5883. }
  5884. },
  5885. "models.Messageboard": {
  5886. "type": "object",
  5887. "required": [
  5888. "messageboardid"
  5889. ],
  5890. "properties": {
  5891. "createtime": {
  5892. "description": "创建时间",
  5893. "type": "string"
  5894. },
  5895. "message": {
  5896. "description": "留言信息",
  5897. "type": "string"
  5898. },
  5899. "messageboardid": {
  5900. "description": "留言簿ID(SEQ_MessageBoard)",
  5901. "type": "integer"
  5902. },
  5903. "userid": {
  5904. "description": "用户ID",
  5905. "type": "integer"
  5906. }
  5907. }
  5908. },
  5909. "models.OperationPrimaryMenu": {
  5910. "type": "object",
  5911. "properties": {
  5912. "Children": {
  5913. "description": "二级功能菜单",
  5914. "type": "array",
  5915. "items": {
  5916. "$ref": "#/definitions/models.OperationSecondaryMenu"
  5917. }
  5918. },
  5919. "Key": {
  5920. "description": "菜单KEY",
  5921. "type": "string"
  5922. },
  5923. "Label": {
  5924. "description": "菜单标题",
  5925. "type": "string"
  5926. }
  5927. }
  5928. },
  5929. "models.OperationSecondaryMenu": {
  5930. "type": "object",
  5931. "properties": {
  5932. "Key": {
  5933. "description": "菜单KEY",
  5934. "type": "string"
  5935. },
  5936. "Label": {
  5937. "description": "菜单标题",
  5938. "type": "string"
  5939. },
  5940. "TabList": {
  5941. "description": "三级功能菜单",
  5942. "type": "array",
  5943. "items": {
  5944. "$ref": "#/definitions/models.OperationTabMenu"
  5945. }
  5946. }
  5947. }
  5948. },
  5949. "models.OperationTabMenu": {
  5950. "type": "object",
  5951. "properties": {
  5952. "Key": {
  5953. "description": "菜单KEY",
  5954. "type": "string"
  5955. },
  5956. "Label": {
  5957. "description": "菜单标题",
  5958. "type": "string"
  5959. }
  5960. }
  5961. },
  5962. "models.QuotePrimaryMenu": {
  5963. "type": "object",
  5964. "properties": {
  5965. "Index": {
  5966. "description": "序号",
  5967. "type": "integer"
  5968. },
  5969. "Key": {
  5970. "description": "键名",
  5971. "type": "string"
  5972. },
  5973. "Name": {
  5974. "description": "菜单名称",
  5975. "type": "string"
  5976. },
  5977. "SubMenus": {
  5978. "description": "子菜单",
  5979. "type": "array",
  5980. "items": {
  5981. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  5982. }
  5983. },
  5984. "SubTitleType": {
  5985. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  5986. "type": "integer"
  5987. },
  5988. "TradeModes": {
  5989. "description": "包含市场交易类型",
  5990. "type": "string"
  5991. }
  5992. }
  5993. },
  5994. "models.QuoteSecondaryMenu": {
  5995. "type": "object",
  5996. "properties": {
  5997. "ExExchangeCode": {
  5998. "description": "外部交易所代码",
  5999. "type": "string"
  6000. },
  6001. "ExExchangeID": {
  6002. "description": "外部交易所ID",
  6003. "type": "integer"
  6004. },
  6005. "GoodsGroupIDs": {
  6006. "description": "商品组ID列表",
  6007. "type": "array",
  6008. "items": {
  6009. "type": "integer"
  6010. }
  6011. },
  6012. "Index": {
  6013. "description": "序号",
  6014. "type": "integer"
  6015. },
  6016. "MarketID": {
  6017. "description": "市场ID",
  6018. "type": "integer"
  6019. },
  6020. "MenuTitle": {
  6021. "description": "菜单标题(市场名称或外部交易所名称)",
  6022. "type": "string"
  6023. },
  6024. "TradeMode": {
  6025. "description": "交易模式",
  6026. "type": "integer"
  6027. }
  6028. }
  6029. },
  6030. "models.SearchGoods": {
  6031. "type": "object",
  6032. "required": [
  6033. "goodscode",
  6034. "goodsid",
  6035. "goodsname",
  6036. "marketid",
  6037. "trademode"
  6038. ],
  6039. "properties": {
  6040. "goodscode": {
  6041. "description": "商品代码(内部)",
  6042. "type": "string"
  6043. },
  6044. "goodsid": {
  6045. "description": "商品ID(自增ID SEQ_GOODS)",
  6046. "type": "integer"
  6047. },
  6048. "goodsname": {
  6049. "description": "商品名称",
  6050. "type": "string"
  6051. },
  6052. "marketid": {
  6053. "description": "所属市场ID",
  6054. "type": "integer"
  6055. },
  6056. "marketname": {
  6057. "description": "市场名称",
  6058. "type": "string"
  6059. },
  6060. "trademode": {
  6061. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6062. "type": "integer"
  6063. }
  6064. }
  6065. },
  6066. "models.Szdz2imageconfig": {
  6067. "type": "object",
  6068. "required": [
  6069. "configid"
  6070. ],
  6071. "properties": {
  6072. "configid": {
  6073. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  6074. "type": "integer"
  6075. },
  6076. "imagepath": {
  6077. "description": "图片",
  6078. "type": "string"
  6079. },
  6080. "imagetype": {
  6081. "description": "类型 - 1:App首页轮播 2:我的",
  6082. "type": "integer"
  6083. },
  6084. "sort": {
  6085. "description": "排序",
  6086. "type": "integer"
  6087. },
  6088. "title": {
  6089. "description": "标题",
  6090. "type": "string"
  6091. },
  6092. "url": {
  6093. "description": "链接",
  6094. "type": "string"
  6095. }
  6096. }
  6097. },
  6098. "models.Szdz3convertconfig": {
  6099. "type": "object",
  6100. "required": [
  6101. "converttype",
  6102. "innergoodsid",
  6103. "outergoodscode"
  6104. ],
  6105. "properties": {
  6106. "canin": {
  6107. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  6108. "type": "integer"
  6109. },
  6110. "canout": {
  6111. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  6112. "type": "integer"
  6113. },
  6114. "converttype": {
  6115. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  6116. "type": "integer"
  6117. },
  6118. "createtime": {
  6119. "description": "创建时间",
  6120. "type": "string"
  6121. },
  6122. "creatorid": {
  6123. "description": "创建人",
  6124. "type": "integer"
  6125. },
  6126. "daymaxvalue": {
  6127. "description": "当日最大转入限制",
  6128. "type": "number"
  6129. },
  6130. "freezedays": {
  6131. "description": "冻结天数 [5:花生米转交易]",
  6132. "type": "integer"
  6133. },
  6134. "innergoodsid": {
  6135. "description": "内部商品ID[交易]",
  6136. "type": "integer"
  6137. },
  6138. "inratio": {
  6139. "description": "目标值",
  6140. "type": "integer"
  6141. },
  6142. "modifierid": {
  6143. "description": "修改人",
  6144. "type": "integer"
  6145. },
  6146. "modifytime": {
  6147. "description": "修改时间",
  6148. "type": "string"
  6149. },
  6150. "outergoodscode": {
  6151. "description": "外部商品代码[JD\\PD]",
  6152. "type": "string"
  6153. },
  6154. "outratio": {
  6155. "description": "源值",
  6156. "type": "integer"
  6157. },
  6158. "pddecimalplace": {
  6159. "description": "PD小数位",
  6160. "type": "integer"
  6161. },
  6162. "timemaxvalue": {
  6163. "description": "单次最大转入限制",
  6164. "type": "number"
  6165. },
  6166. "timeminvalue": {
  6167. "description": "单次最小转入限制",
  6168. "type": "number"
  6169. }
  6170. }
  6171. },
  6172. "models.Szdz3searchwhitelist": {
  6173. "type": "object",
  6174. "required": [
  6175. "userid"
  6176. ],
  6177. "properties": {
  6178. "createtime": {
  6179. "description": "创建时间",
  6180. "type": "string"
  6181. },
  6182. "creatorid": {
  6183. "description": "创建人",
  6184. "type": "integer"
  6185. },
  6186. "modifierid": {
  6187. "description": "修改人",
  6188. "type": "integer"
  6189. },
  6190. "modifytime": {
  6191. "description": "修改时间",
  6192. "type": "string"
  6193. },
  6194. "userid": {
  6195. "description": "用户ID",
  6196. "type": "integer"
  6197. }
  6198. }
  6199. },
  6200. "models.Tablecolumnconfig": {
  6201. "type": "object",
  6202. "required": [
  6203. "autoid"
  6204. ],
  6205. "properties": {
  6206. "aligntype": {
  6207. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  6208. "type": "integer"
  6209. },
  6210. "autoid": {
  6211. "description": "AutoID",
  6212. "type": "integer"
  6213. },
  6214. "columnfield": {
  6215. "description": "列字段",
  6216. "type": "string"
  6217. },
  6218. "columntitle": {
  6219. "description": "列Title",
  6220. "type": "string"
  6221. },
  6222. "columnwidth": {
  6223. "description": "列宽",
  6224. "type": "string"
  6225. },
  6226. "formatterstring": {
  6227. "description": "格式化字符",
  6228. "type": "string"
  6229. },
  6230. "formattertype": {
  6231. "description": "格式化类型",
  6232. "type": "string"
  6233. },
  6234. "groupname": {
  6235. "description": "表头分组名称",
  6236. "type": "string"
  6237. },
  6238. "isshow": {
  6239. "description": "是否显示 - 0:不显示 1:显示",
  6240. "type": "integer"
  6241. },
  6242. "needsummary": {
  6243. "description": "是否需要汇总 - 0:不需要 1:需要",
  6244. "type": "integer"
  6245. },
  6246. "orderindex": {
  6247. "description": "顺序",
  6248. "type": "integer"
  6249. },
  6250. "remark": {
  6251. "description": "备注",
  6252. "type": "string"
  6253. },
  6254. "summarytype": {
  6255. "description": "汇总类型 - 1:加总 2:最后一个",
  6256. "type": "integer"
  6257. },
  6258. "tablekey": {
  6259. "description": "列表Key",
  6260. "type": "string"
  6261. }
  6262. }
  6263. },
  6264. "models.Userfavoritegoods": {
  6265. "type": "object",
  6266. "required": [
  6267. "goodsid"
  6268. ],
  6269. "properties": {
  6270. "goodsid": {
  6271. "description": "商品ID",
  6272. "type": "integer"
  6273. }
  6274. }
  6275. },
  6276. "models.Userinfo": {
  6277. "type": "object",
  6278. "required": [
  6279. "userid"
  6280. ],
  6281. "properties": {
  6282. "address": {
  6283. "description": "地址",
  6284. "type": "string"
  6285. },
  6286. "attachment1": {
  6287. "description": "附件1",
  6288. "type": "string"
  6289. },
  6290. "attachment2": {
  6291. "description": "附件2",
  6292. "type": "string"
  6293. },
  6294. "bankaccount": {
  6295. "description": "银行帐号 (加密存储)",
  6296. "type": "string"
  6297. },
  6298. "bankaccountname": {
  6299. "description": "收款人名称",
  6300. "type": "string"
  6301. },
  6302. "bankcardfrontphotourl": {
  6303. "description": "银行卡正面照地址",
  6304. "type": "string"
  6305. },
  6306. "bankid": {
  6307. "description": "银行编码",
  6308. "type": "string"
  6309. },
  6310. "bankname": {
  6311. "description": "银行名称",
  6312. "type": "string"
  6313. },
  6314. "biznature": {
  6315. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6316. "type": "integer"
  6317. },
  6318. "bizscope": {
  6319. "description": "企业经营范围(企业)",
  6320. "type": "string"
  6321. },
  6322. "cardbackphotourl": {
  6323. "description": "证件背面图片地址",
  6324. "type": "string"
  6325. },
  6326. "cardfrontphotourl": {
  6327. "description": "证件正面图片地址",
  6328. "type": "string"
  6329. },
  6330. "cardnum": {
  6331. "description": "证件号码(加密存储)",
  6332. "type": "string"
  6333. },
  6334. "cardtypeid": {
  6335. "description": "证件类型ID",
  6336. "type": "integer"
  6337. },
  6338. "cityid": {
  6339. "description": "市",
  6340. "type": "integer"
  6341. },
  6342. "company": {
  6343. "description": "公司(个人)",
  6344. "type": "string"
  6345. },
  6346. "contactname": {
  6347. "description": "联系人",
  6348. "type": "string"
  6349. },
  6350. "countryid": {
  6351. "description": "国家",
  6352. "type": "integer"
  6353. },
  6354. "createtime": {
  6355. "description": "创建时间",
  6356. "type": "string"
  6357. },
  6358. "creatorid": {
  6359. "description": "创建人",
  6360. "type": "integer"
  6361. },
  6362. "customername": {
  6363. "description": "客户名称(企业名称)",
  6364. "type": "string"
  6365. },
  6366. "districtid": {
  6367. "description": "地区",
  6368. "type": "integer"
  6369. },
  6370. "email": {
  6371. "description": "邮件(加密存储)",
  6372. "type": "string"
  6373. },
  6374. "fax": {
  6375. "description": "传真(加密存储)",
  6376. "type": "string"
  6377. },
  6378. "halfbodyphotourl": {
  6379. "description": "半身照地址",
  6380. "type": "string"
  6381. },
  6382. "hasencrypt": {
  6383. "description": "数据是否已加密 - 0:未加密 1:已加密",
  6384. "type": "integer"
  6385. },
  6386. "headurl": {
  6387. "description": "头像地址",
  6388. "type": "string"
  6389. },
  6390. "legalcardbackphotourl": {
  6391. "description": "法人身份证背面照地址",
  6392. "type": "string"
  6393. },
  6394. "legalcardfrontphotourl": {
  6395. "description": "法人身份证正面照地址",
  6396. "type": "string"
  6397. },
  6398. "legalpersonname": {
  6399. "description": "法人姓名(企业)",
  6400. "type": "string"
  6401. },
  6402. "mobile": {
  6403. "description": "手机号码(加密存储)",
  6404. "type": "string"
  6405. },
  6406. "mobile2": {
  6407. "description": "手机号码[明文-尚志]",
  6408. "type": "string"
  6409. },
  6410. "modifierid": {
  6411. "description": "修改人",
  6412. "type": "integer"
  6413. },
  6414. "modifiertime": {
  6415. "description": "修改时间",
  6416. "type": "string"
  6417. },
  6418. "needinvoice": {
  6419. "description": "是否需要发票 - 0:不需要 1:需要",
  6420. "type": "integer"
  6421. },
  6422. "nickname": {
  6423. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  6424. "type": "string"
  6425. },
  6426. "openmode": {
  6427. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  6428. "type": "integer"
  6429. },
  6430. "otherurl": {
  6431. "description": "其它图片地址[使用分号分隔]",
  6432. "type": "string"
  6433. },
  6434. "postalcode": {
  6435. "description": "邮政编码",
  6436. "type": "string"
  6437. },
  6438. "provinceid": {
  6439. "description": "省",
  6440. "type": "integer"
  6441. },
  6442. "qq": {
  6443. "description": "QQ(加密存储",
  6444. "type": "string"
  6445. },
  6446. "remark": {
  6447. "description": "备注",
  6448. "type": "string"
  6449. },
  6450. "sex": {
  6451. "description": "用户性别 0: 女 1: 男",
  6452. "type": "integer"
  6453. },
  6454. "signpdfurl": {
  6455. "description": "签约pdf文件",
  6456. "type": "string"
  6457. },
  6458. "telphone": {
  6459. "description": "联系电话(加密存储)",
  6460. "type": "string"
  6461. },
  6462. "userid": {
  6463. "description": "用户ID",
  6464. "type": "integer"
  6465. },
  6466. "userinfotype": {
  6467. "description": "用户信息类型 - 1:个人 2:企业",
  6468. "type": "integer"
  6469. },
  6470. "userstatus": {
  6471. "description": "用户状态 - 1:正常 2:注销",
  6472. "type": "integer"
  6473. },
  6474. "usertype": {
  6475. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  6476. "type": "integer"
  6477. },
  6478. "wechat": {
  6479. "description": "微信(加密存储)",
  6480. "type": "string"
  6481. },
  6482. "wskhinfo": {
  6483. "description": "开户申请信息(JSON)",
  6484. "type": "string"
  6485. }
  6486. }
  6487. },
  6488. "models.Warehouseinfo": {
  6489. "type": "object",
  6490. "required": [
  6491. "autoid",
  6492. "warehousecode"
  6493. ],
  6494. "properties": {
  6495. "address": {
  6496. "description": "详细地址",
  6497. "type": "string"
  6498. },
  6499. "areauserid": {
  6500. "description": "所属机构",
  6501. "type": "integer"
  6502. },
  6503. "autoid": {
  6504. "description": "自增ID",
  6505. "type": "integer"
  6506. },
  6507. "cityid": {
  6508. "description": "市",
  6509. "type": "integer"
  6510. },
  6511. "contactname": {
  6512. "description": "联系人",
  6513. "type": "string"
  6514. },
  6515. "contactnum": {
  6516. "description": "联系电话",
  6517. "type": "string"
  6518. },
  6519. "countryid": {
  6520. "description": "国家",
  6521. "type": "integer"
  6522. },
  6523. "createtime": {
  6524. "description": "创建时间",
  6525. "type": "string"
  6526. },
  6527. "districtid": {
  6528. "description": "区",
  6529. "type": "integer"
  6530. },
  6531. "hasvideo": {
  6532. "description": "是否有视频 - 0:无 1:有",
  6533. "type": "integer"
  6534. },
  6535. "provinceid": {
  6536. "description": "省",
  6537. "type": "integer"
  6538. },
  6539. "remark": {
  6540. "description": "审核备注",
  6541. "type": "string"
  6542. },
  6543. "videourl": {
  6544. "description": "视频地址",
  6545. "type": "string"
  6546. },
  6547. "warehousecode": {
  6548. "description": "仓库代码",
  6549. "type": "string"
  6550. },
  6551. "warehousename": {
  6552. "description": "仓库名称",
  6553. "type": "string"
  6554. },
  6555. "warehousestatus": {
  6556. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  6557. "type": "integer"
  6558. },
  6559. "warehousetype": {
  6560. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  6561. "type": "integer"
  6562. }
  6563. }
  6564. },
  6565. "models.Wrstandard": {
  6566. "type": "object",
  6567. "required": [
  6568. "wrstandardid"
  6569. ],
  6570. "properties": {
  6571. "createtime": {
  6572. "description": "创建时间",
  6573. "type": "string"
  6574. },
  6575. "creatorid": {
  6576. "description": "创建人",
  6577. "type": "integer"
  6578. },
  6579. "deliverygoodsid": {
  6580. "description": "品种ID",
  6581. "type": "integer"
  6582. },
  6583. "factoryitemjson": {
  6584. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  6585. "type": "string"
  6586. },
  6587. "isvalid": {
  6588. "description": "是否有效 - 0:无效 1:有效",
  6589. "type": "integer"
  6590. },
  6591. "minivalue": {
  6592. "description": "最小变动值",
  6593. "type": "integer"
  6594. },
  6595. "minivaluedp": {
  6596. "description": "最小变动值小数位",
  6597. "type": "integer"
  6598. },
  6599. "realminivalue": {
  6600. "description": "实际最小变动值",
  6601. "type": "integer"
  6602. },
  6603. "realminivaluedp": {
  6604. "description": "实际最小变动值小数位",
  6605. "type": "integer"
  6606. },
  6607. "unitid": {
  6608. "description": "单位ID",
  6609. "type": "integer"
  6610. },
  6611. "updatetime": {
  6612. "description": "更新时间",
  6613. "type": "string"
  6614. },
  6615. "updatorid": {
  6616. "description": "更新人",
  6617. "type": "integer"
  6618. },
  6619. "wrsstatus": {
  6620. "description": "状态 - 作废 - 0:未激活 1:正常",
  6621. "type": "integer"
  6622. },
  6623. "wrstandardcode": {
  6624. "description": "仓单标准代码",
  6625. "type": "string"
  6626. },
  6627. "wrstandardid": {
  6628. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  6629. "type": "integer"
  6630. },
  6631. "wrstandardname": {
  6632. "description": "仓单标准名称",
  6633. "type": "string"
  6634. }
  6635. }
  6636. },
  6637. "order.QueryHisTradeDetailRsp": {
  6638. "type": "object",
  6639. "required": [
  6640. "accountid",
  6641. "buyorsell",
  6642. "goodsid",
  6643. "histradedate",
  6644. "marketid",
  6645. "memberuserid",
  6646. "orderid",
  6647. "tradeamount",
  6648. "tradedate",
  6649. "tradeid",
  6650. "tradeprice",
  6651. "tradeqty",
  6652. "tradetime"
  6653. ],
  6654. "properties": {
  6655. "accountid": {
  6656. "description": "账户ID[报价币种]",
  6657. "type": "integer"
  6658. },
  6659. "buildtype": {
  6660. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  6661. "type": "integer"
  6662. },
  6663. "buyorsell": {
  6664. "description": "方向 - 0:买 1:卖",
  6665. "type": "integer"
  6666. },
  6667. "charge": {
  6668. "description": "手续费",
  6669. "type": "number"
  6670. },
  6671. "closecharge": {
  6672. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  6673. "type": "number"
  6674. },
  6675. "closeexchagechargevalue": {
  6676. "description": "平仓交易所手续费设置值",
  6677. "type": "number"
  6678. },
  6679. "closefeealgorithm": {
  6680. "description": "平仓手续费收取方式 1:比率 2:固定",
  6681. "type": "integer"
  6682. },
  6683. "closememberchargevalue": {
  6684. "description": "平仓会员手续费设置值",
  6685. "type": "number"
  6686. },
  6687. "closepl": {
  6688. "description": "平仓盈亏",
  6689. "type": "number"
  6690. },
  6691. "closepl2": {
  6692. "description": "平仓盈亏[逐笔]",
  6693. "type": "number"
  6694. },
  6695. "closeqty": {
  6696. "description": "平仓数量(先建后平操作 需要记录)",
  6697. "type": "integer"
  6698. },
  6699. "creditamount": {
  6700. "description": "授信金额",
  6701. "type": "number"
  6702. },
  6703. "gcaccountid": {
  6704. "description": "账户ID[合约币种]",
  6705. "type": "integer"
  6706. },
  6707. "goodscode": {
  6708. "description": "商品代码",
  6709. "type": "string"
  6710. },
  6711. "goodsid": {
  6712. "description": "商品ID",
  6713. "type": "integer"
  6714. },
  6715. "goodsname": {
  6716. "description": "商品名称",
  6717. "type": "string"
  6718. },
  6719. "histradedate": {
  6720. "description": "历史交易日",
  6721. "type": "string"
  6722. },
  6723. "intclosepl": {
  6724. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  6725. "type": "integer"
  6726. },
  6727. "isconfirmexercise": {
  6728. "description": "是否确认行权- 0:否 1:是",
  6729. "type": "integer"
  6730. },
  6731. "ismain": {
  6732. "description": "是否主单 - 0:不是 1:是",
  6733. "type": "integer"
  6734. },
  6735. "ispreexercise": {
  6736. "description": "是否预申报- 0:否 1:是",
  6737. "type": "integer"
  6738. },
  6739. "isreckoned": {
  6740. "description": "是否结算 - 0:未结算 1:已结算",
  6741. "type": "integer"
  6742. },
  6743. "isvaliddata": {
  6744. "description": "是否有效 - 0:无效 1:有效",
  6745. "type": "integer"
  6746. },
  6747. "listingselecttype": {
  6748. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6749. "type": "integer"
  6750. },
  6751. "marketid": {
  6752. "description": "市场ID",
  6753. "type": "integer"
  6754. },
  6755. "marketname": {
  6756. "description": "市场名称",
  6757. "type": "string"
  6758. },
  6759. "matchaccountid": {
  6760. "description": "对手账号id",
  6761. "type": "integer"
  6762. },
  6763. "memberuserid": {
  6764. "description": "会员id 个人投资者 需要填写",
  6765. "type": "integer"
  6766. },
  6767. "opencharge": {
  6768. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  6769. "type": "number"
  6770. },
  6771. "openexchagechargevalue": {
  6772. "description": "建仓交易所手续费设置值",
  6773. "type": "number"
  6774. },
  6775. "openfeealgorithm": {
  6776. "description": "建仓手续费收取方式 1:比率 2:固定",
  6777. "type": "integer"
  6778. },
  6779. "openmemberchargevalue": {
  6780. "description": "建仓会员手续费设置值",
  6781. "type": "number"
  6782. },
  6783. "openqty": {
  6784. "description": "开仓数量(先建后平操作 需要记录)",
  6785. "type": "integer"
  6786. },
  6787. "optiontype": {
  6788. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6789. "type": "integer"
  6790. },
  6791. "orderid": {
  6792. "description": "委托单号",
  6793. "type": "string"
  6794. },
  6795. "performanceplanid": {
  6796. "description": "履约计划ID[期权]",
  6797. "type": "integer"
  6798. },
  6799. "performancestatus": {
  6800. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  6801. "type": "integer"
  6802. },
  6803. "preexerciseprice": {
  6804. "description": "预申报价格",
  6805. "type": "number"
  6806. },
  6807. "premium": {
  6808. "description": "权利金 - [持仓单的权利金]",
  6809. "type": "number"
  6810. },
  6811. "relatedouttradeid": {
  6812. "description": "关联外部成交单ID",
  6813. "type": "integer"
  6814. },
  6815. "status": {
  6816. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  6817. "type": "integer"
  6818. },
  6819. "tradeamount": {
  6820. "description": "成交金额[账户币种,用于所有权]",
  6821. "type": "number"
  6822. },
  6823. "tradedate": {
  6824. "description": "交易日(yyyyMMdd)",
  6825. "type": "string"
  6826. },
  6827. "tradeid": {
  6828. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6829. "type": "string"
  6830. },
  6831. "trademode": {
  6832. "description": "交易模式",
  6833. "type": "integer"
  6834. },
  6835. "tradeprice": {
  6836. "description": "成交价格",
  6837. "type": "number"
  6838. },
  6839. "tradeproperty": {
  6840. "description": "交易属性",
  6841. "type": "integer"
  6842. },
  6843. "tradeqty": {
  6844. "description": "成交数量",
  6845. "type": "integer"
  6846. },
  6847. "tradetime": {
  6848. "description": "成交时间",
  6849. "type": "string"
  6850. },
  6851. "tradetype": {
  6852. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  6853. "type": "integer"
  6854. }
  6855. }
  6856. },
  6857. "order.QueryHisTradeOrderDetailRsp": {
  6858. "type": "object",
  6859. "required": [
  6860. "accountid",
  6861. "buildtype",
  6862. "buyorsell",
  6863. "goodsid",
  6864. "histradedate",
  6865. "marketid",
  6866. "memberuserid",
  6867. "operatetype",
  6868. "orderid",
  6869. "orderqty",
  6870. "ordertime",
  6871. "pricemode",
  6872. "tradedate",
  6873. "validtype"
  6874. ],
  6875. "properties": {
  6876. "accountid": {
  6877. "description": "账户ID[报价币种]",
  6878. "type": "integer"
  6879. },
  6880. "buildtype": {
  6881. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  6882. "type": "integer"
  6883. },
  6884. "buyorsell": {
  6885. "description": "买卖 - 0:买 1:卖",
  6886. "type": "integer"
  6887. },
  6888. "cancelorderid": {
  6889. "description": "撤单单号(撤单时填写)",
  6890. "type": "string"
  6891. },
  6892. "cancelqty": {
  6893. "description": "撤单数量",
  6894. "type": "integer"
  6895. },
  6896. "clientordertime": {
  6897. "description": "客户端委托时间",
  6898. "type": "string"
  6899. },
  6900. "clientticket": {
  6901. "description": "客户端流水号",
  6902. "type": "string"
  6903. },
  6904. "clienttype": {
  6905. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  6906. "type": "integer"
  6907. },
  6908. "closeexchagechargevalue": {
  6909. "description": "平仓交易所手续费设置值",
  6910. "type": "number"
  6911. },
  6912. "closefeealgorithm": {
  6913. "description": "平仓手续费收取方式 1:比率 2:固定",
  6914. "type": "integer"
  6915. },
  6916. "closefreezecharge": {
  6917. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  6918. "type": "number"
  6919. },
  6920. "closememberchargevalue": {
  6921. "description": "平仓会员手续费设置值",
  6922. "type": "number"
  6923. },
  6924. "closeqty": {
  6925. "description": "平仓数量(先建后平操作 需要记录)",
  6926. "type": "integer"
  6927. },
  6928. "closetradeqty": {
  6929. "description": "平仓成交数量(先建后平操作,需要记录)",
  6930. "type": "integer"
  6931. },
  6932. "closeunfreezecharge": {
  6933. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  6934. "type": "number"
  6935. },
  6936. "delistingtype": {
  6937. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  6938. "type": "integer"
  6939. },
  6940. "freezecharge": {
  6941. "description": "冻结手续费",
  6942. "type": "number"
  6943. },
  6944. "freezemargin": {
  6945. "description": "冻结保证金(冻结交易金额)",
  6946. "type": "number"
  6947. },
  6948. "gcaccountid": {
  6949. "description": "账户ID[合约币种]",
  6950. "type": "integer"
  6951. },
  6952. "goodscode": {
  6953. "description": "商品代码",
  6954. "type": "string"
  6955. },
  6956. "goodsid": {
  6957. "description": "商品ID",
  6958. "type": "integer"
  6959. },
  6960. "goodsname": {
  6961. "description": "商品名称",
  6962. "type": "string"
  6963. },
  6964. "histradedate": {
  6965. "description": "历史交易日",
  6966. "type": "string"
  6967. },
  6968. "isconfirmexercise": {
  6969. "description": "是否确认行权- 0:否 1:是",
  6970. "type": "integer"
  6971. },
  6972. "ispreexercise": {
  6973. "description": "是否预申报- 0:否 1:是",
  6974. "type": "integer"
  6975. },
  6976. "isvaliddata": {
  6977. "description": "是否有效 - 0:无效 1:有效",
  6978. "type": "integer"
  6979. },
  6980. "listingselecttype": {
  6981. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6982. "type": "integer"
  6983. },
  6984. "marginalgorithm": {
  6985. "description": "保证金收取方式 1:比率 2:固定",
  6986. "type": "integer"
  6987. },
  6988. "marginvalue": {
  6989. "description": "即市保证金设置值",
  6990. "type": "number"
  6991. },
  6992. "marketid": {
  6993. "description": "市场ID",
  6994. "type": "integer"
  6995. },
  6996. "marketmaxsub": {
  6997. "description": "市价最大偏移范围",
  6998. "type": "number"
  6999. },
  7000. "marketname": {
  7001. "description": "市场名称",
  7002. "type": "string"
  7003. },
  7004. "memberuserid": {
  7005. "description": "所属会员UserID",
  7006. "type": "integer"
  7007. },
  7008. "openexchagechargevalue": {
  7009. "description": "建仓交易所手续费设置值",
  7010. "type": "number"
  7011. },
  7012. "openfeealgorithm": {
  7013. "description": "建仓手续费收取方式 1:比率 2:固定",
  7014. "type": "integer"
  7015. },
  7016. "openfreezecharge": {
  7017. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7018. "type": "number"
  7019. },
  7020. "openmemberchargevalue": {
  7021. "description": "建仓会员手续费设置值",
  7022. "type": "number"
  7023. },
  7024. "openqty": {
  7025. "description": "开仓数量(先建后平操作,需要记录)",
  7026. "type": "integer"
  7027. },
  7028. "opentradeqty": {
  7029. "description": "开仓成交数量(先建后平操作,需要记录)",
  7030. "type": "integer"
  7031. },
  7032. "openunfreezecharge": {
  7033. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7034. "type": "number"
  7035. },
  7036. "operatetype": {
  7037. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7038. "type": "integer"
  7039. },
  7040. "operatorid": {
  7041. "description": "登录账号(LoginID)",
  7042. "type": "integer"
  7043. },
  7044. "optiontype": {
  7045. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7046. "type": "integer"
  7047. },
  7048. "orderid": {
  7049. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7050. "type": "string"
  7051. },
  7052. "orderprice": {
  7053. "description": "委托价格",
  7054. "type": "number"
  7055. },
  7056. "orderqty": {
  7057. "description": "委托数量",
  7058. "type": "integer"
  7059. },
  7060. "ordersrc": {
  7061. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7062. "type": "integer"
  7063. },
  7064. "orderstatus": {
  7065. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7066. "type": "integer"
  7067. },
  7068. "ordertime": {
  7069. "description": "委托时间",
  7070. "type": "string"
  7071. },
  7072. "preexerciseprice": {
  7073. "description": "预申报价格",
  7074. "type": "number"
  7075. },
  7076. "premium": {
  7077. "description": "权利金",
  7078. "type": "number"
  7079. },
  7080. "preorderid": {
  7081. "description": "关联预埋单号(止盈止损单时填写)",
  7082. "type": "string"
  7083. },
  7084. "pricemode": {
  7085. "description": "取价方式 - 1:市价 2: 限价",
  7086. "type": "integer"
  7087. },
  7088. "quoteid": {
  7089. "description": "报价单ID",
  7090. "type": "integer"
  7091. },
  7092. "relatedid": {
  7093. "description": "关联单号(交割单)",
  7094. "type": "string"
  7095. },
  7096. "retcode": {
  7097. "description": "错误代码",
  7098. "type": "integer"
  7099. },
  7100. "sessionid": {
  7101. "description": "会话ID",
  7102. "type": "integer"
  7103. },
  7104. "tradedate": {
  7105. "description": "交易日(yyyyMMdd)",
  7106. "type": "string"
  7107. },
  7108. "trademode": {
  7109. "description": "交易模式",
  7110. "type": "integer"
  7111. },
  7112. "tradeproperty": {
  7113. "description": "交易属性",
  7114. "type": "integer"
  7115. },
  7116. "tradeqty": {
  7117. "description": "成交数量",
  7118. "type": "integer"
  7119. },
  7120. "unfreezecharge": {
  7121. "description": "解冻手续费",
  7122. "type": "number"
  7123. },
  7124. "unfreezemargin": {
  7125. "description": "解冻保证金",
  7126. "type": "number"
  7127. },
  7128. "updatetime": {
  7129. "description": "更新时间",
  7130. "type": "string"
  7131. },
  7132. "uuid": {
  7133. "description": "发起端唯一id",
  7134. "type": "string"
  7135. },
  7136. "validtime": {
  7137. "description": "有效期限",
  7138. "type": "string"
  7139. },
  7140. "validtype": {
  7141. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7142. "type": "integer"
  7143. },
  7144. "volumetype": {
  7145. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7146. "type": "integer"
  7147. }
  7148. }
  7149. },
  7150. "order.QueryTradeDetailRsp": {
  7151. "type": "object",
  7152. "required": [
  7153. "accountid",
  7154. "buyorsell",
  7155. "goodsid",
  7156. "marketid",
  7157. "memberuserid",
  7158. "orderid",
  7159. "tradeamount",
  7160. "tradedate",
  7161. "tradeid",
  7162. "tradeprice",
  7163. "tradeqty",
  7164. "tradetime"
  7165. ],
  7166. "properties": {
  7167. "accountid": {
  7168. "description": "账户ID[报价币种]",
  7169. "type": "integer"
  7170. },
  7171. "buildtype": {
  7172. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  7173. "type": "integer"
  7174. },
  7175. "buyorsell": {
  7176. "description": "方向 - 0:买 1:卖",
  7177. "type": "integer"
  7178. },
  7179. "charge": {
  7180. "description": "手续费",
  7181. "type": "number"
  7182. },
  7183. "closecharge": {
  7184. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  7185. "type": "number"
  7186. },
  7187. "closeexchagechargevalue": {
  7188. "description": "平仓交易所手续费设置值",
  7189. "type": "number"
  7190. },
  7191. "closefeealgorithm": {
  7192. "description": "平仓手续费收取方式 1:比率 2:固定",
  7193. "type": "integer"
  7194. },
  7195. "closememberchargevalue": {
  7196. "description": "平仓会员手续费设置值",
  7197. "type": "number"
  7198. },
  7199. "closepl": {
  7200. "description": "平仓盈亏",
  7201. "type": "number"
  7202. },
  7203. "closepl2": {
  7204. "description": "平仓盈亏[逐笔]",
  7205. "type": "number"
  7206. },
  7207. "closeqty": {
  7208. "description": "平仓数量(先建后平操作 需要记录)",
  7209. "type": "integer"
  7210. },
  7211. "creditamount": {
  7212. "description": "授信金额",
  7213. "type": "number"
  7214. },
  7215. "gcaccountid": {
  7216. "description": "账户ID[合约币种]",
  7217. "type": "integer"
  7218. },
  7219. "goodscode": {
  7220. "description": "商品代码",
  7221. "type": "string"
  7222. },
  7223. "goodsid": {
  7224. "description": "商品ID",
  7225. "type": "integer"
  7226. },
  7227. "goodsname": {
  7228. "description": "商品名称",
  7229. "type": "string"
  7230. },
  7231. "intclosepl": {
  7232. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  7233. "type": "integer"
  7234. },
  7235. "isconfirmexercise": {
  7236. "description": "是否确认行权- 0:否 1:是",
  7237. "type": "integer"
  7238. },
  7239. "ismain": {
  7240. "description": "是否主单 - 0:不是 1:是",
  7241. "type": "integer"
  7242. },
  7243. "ispreexercise": {
  7244. "description": "是否预申报- 0:否 1:是",
  7245. "type": "integer"
  7246. },
  7247. "isreckoned": {
  7248. "description": "是否结算 - 0:未结算 1:已结算",
  7249. "type": "integer"
  7250. },
  7251. "listingselecttype": {
  7252. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7253. "type": "integer"
  7254. },
  7255. "marketid": {
  7256. "description": "市场ID",
  7257. "type": "integer"
  7258. },
  7259. "marketname": {
  7260. "description": "市场名称",
  7261. "type": "string"
  7262. },
  7263. "matchaccountid": {
  7264. "description": "对手账号id",
  7265. "type": "integer"
  7266. },
  7267. "memberuserid": {
  7268. "description": "会员id 个人投资者 需要填写",
  7269. "type": "integer"
  7270. },
  7271. "opencharge": {
  7272. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  7273. "type": "number"
  7274. },
  7275. "openexchagechargevalue": {
  7276. "description": "建仓交易所手续费设置值",
  7277. "type": "number"
  7278. },
  7279. "openfeealgorithm": {
  7280. "description": "建仓手续费收取方式 1:比率 2:固定",
  7281. "type": "integer"
  7282. },
  7283. "openmemberchargevalue": {
  7284. "description": "建仓会员手续费设置值",
  7285. "type": "number"
  7286. },
  7287. "openqty": {
  7288. "description": "开仓数量(先建后平操作 需要记录)",
  7289. "type": "integer"
  7290. },
  7291. "optiontype": {
  7292. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7293. "type": "integer"
  7294. },
  7295. "orderid": {
  7296. "description": "委托单号",
  7297. "type": "string"
  7298. },
  7299. "performanceplanid": {
  7300. "description": "履约计划ID[期权]",
  7301. "type": "integer"
  7302. },
  7303. "performancestatus": {
  7304. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  7305. "type": "integer"
  7306. },
  7307. "preexerciseprice": {
  7308. "description": "预申报价格",
  7309. "type": "number"
  7310. },
  7311. "premium": {
  7312. "description": "权利金 - [持仓单的权利金]",
  7313. "type": "number"
  7314. },
  7315. "relatedouttradeid": {
  7316. "description": "关联外部成交单ID",
  7317. "type": "integer"
  7318. },
  7319. "status": {
  7320. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  7321. "type": "integer"
  7322. },
  7323. "tradeamount": {
  7324. "description": "成交金额[账户币种,用于所有权]",
  7325. "type": "number"
  7326. },
  7327. "tradedate": {
  7328. "description": "交易日(yyyyMMdd)",
  7329. "type": "string"
  7330. },
  7331. "tradeid": {
  7332. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7333. "type": "string"
  7334. },
  7335. "trademode": {
  7336. "description": "交易模式",
  7337. "type": "integer"
  7338. },
  7339. "tradeprice": {
  7340. "description": "成交价格",
  7341. "type": "number"
  7342. },
  7343. "tradeproperty": {
  7344. "description": "交易属性",
  7345. "type": "integer"
  7346. },
  7347. "tradeqty": {
  7348. "description": "成交数量",
  7349. "type": "integer"
  7350. },
  7351. "tradetime": {
  7352. "description": "成交时间",
  7353. "type": "string"
  7354. },
  7355. "tradetype": {
  7356. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  7357. "type": "integer"
  7358. }
  7359. }
  7360. },
  7361. "order.QueryTradeOrderDetailRsp": {
  7362. "type": "object",
  7363. "required": [
  7364. "accountid",
  7365. "buildtype",
  7366. "buyorsell",
  7367. "goodsid",
  7368. "marketid",
  7369. "operatetype",
  7370. "orderqty",
  7371. "ordertime",
  7372. "pricemode",
  7373. "tradedate",
  7374. "validtype"
  7375. ],
  7376. "properties": {
  7377. "accountid": {
  7378. "description": "账户ID[报价币种]",
  7379. "type": "integer"
  7380. },
  7381. "buildtype": {
  7382. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7383. "type": "integer"
  7384. },
  7385. "buyorsell": {
  7386. "description": "买卖 - 0:买 1:卖",
  7387. "type": "integer"
  7388. },
  7389. "cancelorderid": {
  7390. "description": "撤单单号(撤单时填写)",
  7391. "type": "string"
  7392. },
  7393. "cancelqty": {
  7394. "description": "撤单数量",
  7395. "type": "integer"
  7396. },
  7397. "clienttype": {
  7398. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7399. "type": "integer"
  7400. },
  7401. "closefreezecharge": {
  7402. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7403. "type": "number"
  7404. },
  7405. "closeqty": {
  7406. "description": "平仓数量(先建后平操作 需要记录)",
  7407. "type": "integer"
  7408. },
  7409. "closetradeqty": {
  7410. "description": "平仓成交数量(先建后平操作,需要记录)",
  7411. "type": "integer"
  7412. },
  7413. "closeunfreezecharge": {
  7414. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7415. "type": "number"
  7416. },
  7417. "delistingtype": {
  7418. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7419. "type": "integer"
  7420. },
  7421. "enableqty": {
  7422. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  7423. "type": "integer"
  7424. },
  7425. "freezecharge": {
  7426. "description": "冻结手续费",
  7427. "type": "number"
  7428. },
  7429. "freezemargin": {
  7430. "description": "冻结保证金(冻结交易金额)",
  7431. "type": "number"
  7432. },
  7433. "goodscode": {
  7434. "description": "商品代码",
  7435. "type": "string"
  7436. },
  7437. "goodsid": {
  7438. "description": "商品ID",
  7439. "type": "integer"
  7440. },
  7441. "goodsname": {
  7442. "description": "商品名称",
  7443. "type": "string"
  7444. },
  7445. "listingselecttype": {
  7446. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7447. "type": "integer"
  7448. },
  7449. "marketid": {
  7450. "description": "市场ID",
  7451. "type": "integer"
  7452. },
  7453. "marketname": {
  7454. "description": "市场名称",
  7455. "type": "string"
  7456. },
  7457. "openfreezecharge": {
  7458. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7459. "type": "number"
  7460. },
  7461. "openqty": {
  7462. "description": "开仓数量(先建后平操作,需要记录)",
  7463. "type": "integer"
  7464. },
  7465. "opentradeqty": {
  7466. "description": "开仓成交数量(先建后平操作,需要记录)",
  7467. "type": "integer"
  7468. },
  7469. "openunfreezecharge": {
  7470. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7471. "type": "number"
  7472. },
  7473. "operatetype": {
  7474. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7475. "type": "integer"
  7476. },
  7477. "operatorid": {
  7478. "description": "登录账号(LoginID)",
  7479. "type": "integer"
  7480. },
  7481. "orderid": {
  7482. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7483. "type": "string"
  7484. },
  7485. "orderprice": {
  7486. "description": "委托价格",
  7487. "type": "number"
  7488. },
  7489. "orderqty": {
  7490. "description": "委托数量",
  7491. "type": "integer"
  7492. },
  7493. "ordersrc": {
  7494. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7495. "type": "integer"
  7496. },
  7497. "orderstatus": {
  7498. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7499. "type": "integer"
  7500. },
  7501. "ordertime": {
  7502. "description": "委托时间",
  7503. "type": "string"
  7504. },
  7505. "preorderid": {
  7506. "description": "关联预埋单号(止盈止损单时填写)",
  7507. "type": "string"
  7508. },
  7509. "pricemode": {
  7510. "description": "取价方式 - 1:市价 2: 限价",
  7511. "type": "integer"
  7512. },
  7513. "relatedid": {
  7514. "description": "关联单号(交割单)",
  7515. "type": "string"
  7516. },
  7517. "tradedate": {
  7518. "description": "交易日(yyyyMMdd)",
  7519. "type": "string"
  7520. },
  7521. "trademode": {
  7522. "description": "交易模式",
  7523. "type": "integer"
  7524. },
  7525. "tradeqty": {
  7526. "description": "成交数量",
  7527. "type": "integer"
  7528. },
  7529. "unfreezecharge": {
  7530. "description": "解冻手续费",
  7531. "type": "number"
  7532. },
  7533. "unfreezemargin": {
  7534. "description": "解冻保证金",
  7535. "type": "number"
  7536. },
  7537. "validtime": {
  7538. "description": "有效期限",
  7539. "type": "string"
  7540. },
  7541. "validtype": {
  7542. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7543. "type": "integer"
  7544. },
  7545. "volumetype": {
  7546. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7547. "type": "integer"
  7548. }
  7549. }
  7550. },
  7551. "order.QueryTradePositionRsp": {
  7552. "type": "object",
  7553. "required": [
  7554. "goodsid"
  7555. ],
  7556. "properties": {
  7557. "accountid": {
  7558. "description": "资金账户",
  7559. "type": "integer"
  7560. },
  7561. "agreeunit": {
  7562. "description": "合约单位",
  7563. "type": "number"
  7564. },
  7565. "averageprice": {
  7566. "description": "持仓均价",
  7567. "type": "number"
  7568. },
  7569. "buyorsell": {
  7570. "description": "方向 - 0:买 1:卖",
  7571. "type": "integer"
  7572. },
  7573. "closetotalqty": {
  7574. "description": "平仓总数量",
  7575. "type": "integer"
  7576. },
  7577. "curholderamount": {
  7578. "description": "当前持仓总金额[商品币种]",
  7579. "type": "number"
  7580. },
  7581. "curpositionqty": {
  7582. "description": "当前持仓总数量",
  7583. "type": "integer"
  7584. },
  7585. "currencyid": {
  7586. "description": "报价货币ID",
  7587. "type": "integer"
  7588. },
  7589. "curtdposition": {
  7590. "description": "期末今日头寸",
  7591. "type": "integer"
  7592. },
  7593. "decimalplace": {
  7594. "description": "报价小数位",
  7595. "type": "integer"
  7596. },
  7597. "enableqty": {
  7598. "description": "可用量",
  7599. "type": "integer"
  7600. },
  7601. "fretdposition": {
  7602. "description": "冻结今日头寸",
  7603. "type": "integer"
  7604. },
  7605. "frozenqty": {
  7606. "description": "持仓冻结数量",
  7607. "type": "integer"
  7608. },
  7609. "goodscode": {
  7610. "description": "商品代码",
  7611. "type": "string"
  7612. },
  7613. "goodsid": {
  7614. "description": "商品Id",
  7615. "type": "integer"
  7616. },
  7617. "goodsname": {
  7618. "description": "商品名称",
  7619. "type": "string"
  7620. },
  7621. "goodunit": {
  7622. "description": "报价单位",
  7623. "type": "string"
  7624. },
  7625. "goodunitid": {
  7626. "description": "报价单位ID",
  7627. "type": "integer"
  7628. },
  7629. "holderamount": {
  7630. "description": "期初持仓总金额[商品币种]",
  7631. "type": "number"
  7632. },
  7633. "marketid": {
  7634. "description": "所属市场ID",
  7635. "type": "integer"
  7636. },
  7637. "openreqqty": {
  7638. "description": "开仓申请数量(用于比较最大持仓数量)",
  7639. "type": "integer"
  7640. },
  7641. "opentotalqty": {
  7642. "description": "开仓总数量",
  7643. "type": "integer"
  7644. },
  7645. "otherfrozenqty": {
  7646. "description": "持仓其他冻结数量(交割冻结)",
  7647. "type": "integer"
  7648. },
  7649. "positionqty": {
  7650. "description": "期初持仓数量",
  7651. "type": "integer"
  7652. },
  7653. "tnqty": {
  7654. "description": "T+N冻结总量",
  7655. "type": "integer"
  7656. },
  7657. "tnusedqty": {
  7658. "description": "T+N使用量(可以使用T+N的冻结数量)",
  7659. "type": "integer"
  7660. },
  7661. "trademode": {
  7662. "description": "交易模式",
  7663. "type": "integer"
  7664. },
  7665. "usedmargin": {
  7666. "description": "占用保证金[商品币种]",
  7667. "type": "number"
  7668. }
  7669. }
  7670. },
  7671. "quote.HistoryData": {
  7672. "type": "object",
  7673. "properties": {
  7674. "c": {
  7675. "description": "收盘价",
  7676. "type": "number"
  7677. },
  7678. "h": {
  7679. "description": "最高价",
  7680. "type": "number"
  7681. },
  7682. "hv": {
  7683. "description": "持仓量",
  7684. "type": "integer"
  7685. },
  7686. "l": {
  7687. "description": "最低价",
  7688. "type": "number"
  7689. },
  7690. "o": {
  7691. "description": "开盘价",
  7692. "type": "number"
  7693. },
  7694. "s": {
  7695. "description": "结算价,日线周期(包括)以上才有",
  7696. "type": "number"
  7697. },
  7698. "ts": {
  7699. "description": "时间",
  7700. "type": "string"
  7701. },
  7702. "tt": {
  7703. "description": "总金额",
  7704. "type": "number"
  7705. },
  7706. "tv": {
  7707. "description": "总量",
  7708. "type": "integer"
  7709. }
  7710. }
  7711. },
  7712. "quote.QueryTSDataRsp": {
  7713. "type": "object",
  7714. "properties": {
  7715. "decimalPlace": {
  7716. "description": "小数位",
  7717. "type": "integer"
  7718. },
  7719. "endTime": {
  7720. "description": "结束时间",
  7721. "type": "string"
  7722. },
  7723. "goodsCode": {
  7724. "description": "商品代码",
  7725. "type": "string"
  7726. },
  7727. "historyDatas": {
  7728. "description": "历史数据",
  7729. "type": "array",
  7730. "items": {
  7731. "$ref": "#/definitions/quote.HistoryData"
  7732. }
  7733. },
  7734. "preSettle": {
  7735. "description": "昨结",
  7736. "type": "number"
  7737. },
  7738. "startTime": {
  7739. "description": "开始时间",
  7740. "type": "string"
  7741. },
  7742. "tradeDate": {
  7743. "description": "交易日",
  7744. "type": "string"
  7745. }
  7746. }
  7747. },
  7748. "szdz.QueryConvertLogRsp": {
  7749. "type": "object",
  7750. "required": [
  7751. "logid"
  7752. ],
  7753. "properties": {
  7754. "accountid": {
  7755. "description": "资金账户ID",
  7756. "type": "integer"
  7757. },
  7758. "clientticket": {
  7759. "description": "客户端流水号",
  7760. "type": "string"
  7761. },
  7762. "converttype": {
  7763. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  7764. "type": "integer"
  7765. },
  7766. "createtime": {
  7767. "description": "记账时间",
  7768. "type": "string"
  7769. },
  7770. "daymaxvalue": {
  7771. "description": "配置当日最大转入限制",
  7772. "type": "number"
  7773. },
  7774. "daymaxvalue2": {
  7775. "description": "配置当日最大转入限制(转入)",
  7776. "type": "number"
  7777. },
  7778. "goodscode": {
  7779. "description": "商品代码",
  7780. "type": "string"
  7781. },
  7782. "goodsname": {
  7783. "description": "商品名称",
  7784. "type": "string"
  7785. },
  7786. "handlestatus": {
  7787. "description": "处理状态",
  7788. "type": "integer"
  7789. },
  7790. "innergoodsid": {
  7791. "description": "内部商品ID",
  7792. "type": "integer"
  7793. },
  7794. "inratio": {
  7795. "description": "配置转入比值",
  7796. "type": "integer"
  7797. },
  7798. "invalue": {
  7799. "description": "目标值",
  7800. "type": "number"
  7801. },
  7802. "logid": {
  7803. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7804. "type": "integer"
  7805. },
  7806. "mobile": {
  7807. "description": "手机号码(加密存储)",
  7808. "type": "string"
  7809. },
  7810. "outergoodscode": {
  7811. "description": "外部商品代码[JD\\PD]",
  7812. "type": "string"
  7813. },
  7814. "outratio": {
  7815. "description": "配置转出比值",
  7816. "type": "integer"
  7817. },
  7818. "outvalue": {
  7819. "description": "源值",
  7820. "type": "number"
  7821. },
  7822. "pddecimalplace": {
  7823. "description": "PD小数位",
  7824. "type": "integer"
  7825. },
  7826. "qty": {
  7827. "description": "数量",
  7828. "type": "string"
  7829. },
  7830. "remark": {
  7831. "description": "备注",
  7832. "type": "string"
  7833. },
  7834. "sessionid": {
  7835. "description": "会话ID",
  7836. "type": "integer"
  7837. },
  7838. "timemaxvalue": {
  7839. "description": "配置单次最大转入限制",
  7840. "type": "number"
  7841. },
  7842. "timemaxvalue2": {
  7843. "description": "配置单次最大转入限制(转入)",
  7844. "type": "number"
  7845. },
  7846. "timeminvalue": {
  7847. "description": "配置单次最小数量限制",
  7848. "type": "number"
  7849. },
  7850. "timeminvalue2": {
  7851. "description": "配置单次最小数量限制(转入)",
  7852. "type": "number"
  7853. },
  7854. "tradedate": {
  7855. "description": "交易日(yyyyMMdd)",
  7856. "type": "string"
  7857. },
  7858. "userid": {
  7859. "description": "用户ID",
  7860. "type": "integer"
  7861. }
  7862. }
  7863. },
  7864. "szdz.QueryGoodsPickupRsp": {
  7865. "type": "object",
  7866. "required": [
  7867. "takeorderid"
  7868. ],
  7869. "properties": {
  7870. "accountid": {
  7871. "description": "账户ID",
  7872. "type": "integer"
  7873. },
  7874. "address": {
  7875. "description": "提货人详细地址",
  7876. "type": "string"
  7877. },
  7878. "auditer": {
  7879. "description": "审核人",
  7880. "type": "integer"
  7881. },
  7882. "audittime": {
  7883. "description": "审核时间",
  7884. "type": "string"
  7885. },
  7886. "cardnum": {
  7887. "description": "提货人证件号码",
  7888. "type": "string"
  7889. },
  7890. "cardtypeid": {
  7891. "description": "提货人证件类型",
  7892. "type": "integer"
  7893. },
  7894. "checkremark": {
  7895. "description": "审核备注",
  7896. "type": "string"
  7897. },
  7898. "goodscode": {
  7899. "description": "商品代码",
  7900. "type": "string"
  7901. },
  7902. "goodsid": {
  7903. "description": "商品ID",
  7904. "type": "integer"
  7905. },
  7906. "goodsname": {
  7907. "description": "商品名称",
  7908. "type": "string"
  7909. },
  7910. "handlestatus": {
  7911. "description": "处理状态",
  7912. "type": "integer"
  7913. },
  7914. "marketid": {
  7915. "description": "市场ID",
  7916. "type": "integer"
  7917. },
  7918. "phonenum": {
  7919. "description": "提货人联系方式",
  7920. "type": "string"
  7921. },
  7922. "qty": {
  7923. "description": "提货数量",
  7924. "type": "number"
  7925. },
  7926. "recivername": {
  7927. "description": "提货人姓名",
  7928. "type": "string"
  7929. },
  7930. "reqtime": {
  7931. "description": "更新时间",
  7932. "type": "string"
  7933. },
  7934. "takemode": {
  7935. "description": "提货方式 - 2:自提 3:配送",
  7936. "type": "integer"
  7937. },
  7938. "takeorderid": {
  7939. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  7940. "type": "string"
  7941. },
  7942. "takeorderstatus": {
  7943. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7944. "type": "integer"
  7945. },
  7946. "takeremark": {
  7947. "description": "提货备注",
  7948. "type": "string"
  7949. },
  7950. "tradedate": {
  7951. "description": "交易日(yyyyMMdd)",
  7952. "type": "string"
  7953. },
  7954. "userid": {
  7955. "description": "用户ID",
  7956. "type": "integer"
  7957. }
  7958. }
  7959. },
  7960. "szdz.QueryRecieptOrderRsp": {
  7961. "type": "object",
  7962. "properties": {
  7963. "accountName": {
  7964. "description": "所属账号名称(已脱敏)",
  7965. "type": "string"
  7966. },
  7967. "accountid": {
  7968. "description": "资金账号",
  7969. "type": "integer"
  7970. },
  7971. "buyorsell": {
  7972. "description": "方向 - 0:买 1:卖",
  7973. "type": "integer"
  7974. },
  7975. "enableqty": {
  7976. "description": "可摘数量",
  7977. "type": "integer"
  7978. },
  7979. "goodscode": {
  7980. "description": "商品代码",
  7981. "type": "string"
  7982. },
  7983. "goodsid": {
  7984. "description": "商品ID",
  7985. "type": "integer"
  7986. },
  7987. "goodsname": {
  7988. "description": "商品名称",
  7989. "type": "string"
  7990. },
  7991. "orderid": {
  7992. "description": "委托单号",
  7993. "type": "string"
  7994. },
  7995. "orderprice": {
  7996. "description": "委托价格",
  7997. "type": "number"
  7998. },
  7999. "tradedate": {
  8000. "description": "交易日(yyyyMMdd)",
  8001. "type": "string"
  8002. }
  8003. }
  8004. },
  8005. "szdz.QuerySZDZTradePositionRsp": {
  8006. "type": "object",
  8007. "properties": {
  8008. "accountid": {
  8009. "description": "账号Id",
  8010. "type": "integer"
  8011. },
  8012. "agreeunit": {
  8013. "description": "合约单位",
  8014. "type": "number"
  8015. },
  8016. "averageprice": {
  8017. "description": "持仓均价",
  8018. "type": "number"
  8019. },
  8020. "buyorsell": {
  8021. "description": "方向 - 0:买 1:卖",
  8022. "type": "integer"
  8023. },
  8024. "closetotalqty": {
  8025. "description": "平仓总数量",
  8026. "type": "integer"
  8027. },
  8028. "curholderamount": {
  8029. "description": "当前持仓总金额",
  8030. "type": "number"
  8031. },
  8032. "curpositionqty": {
  8033. "description": "当前持仓总数量",
  8034. "type": "integer"
  8035. },
  8036. "currencyid": {
  8037. "description": "报价货币ID",
  8038. "type": "integer"
  8039. },
  8040. "curtdposition": {
  8041. "description": "期末今日头寸",
  8042. "type": "integer"
  8043. },
  8044. "decimalplace": {
  8045. "description": "报价小数位",
  8046. "type": "integer"
  8047. },
  8048. "enableqty": {
  8049. "description": "可用量",
  8050. "type": "integer"
  8051. },
  8052. "fretdposition": {
  8053. "description": "冻结今日头寸",
  8054. "type": "integer"
  8055. },
  8056. "frozenqty": {
  8057. "description": "持仓冻结数量",
  8058. "type": "integer"
  8059. },
  8060. "goodscode": {
  8061. "description": "商品代码(内部)",
  8062. "type": "string"
  8063. },
  8064. "goodsid": {
  8065. "description": "商品Id",
  8066. "type": "integer"
  8067. },
  8068. "goodsname": {
  8069. "description": "商品名称",
  8070. "type": "string"
  8071. },
  8072. "goodunit": {
  8073. "description": "报价单位",
  8074. "type": "string"
  8075. },
  8076. "goodunitid": {
  8077. "description": "报价单位ID",
  8078. "type": "integer"
  8079. },
  8080. "holderamount": {
  8081. "description": "期初持仓总金额",
  8082. "type": "number"
  8083. },
  8084. "marketid": {
  8085. "description": "市场ID",
  8086. "type": "integer"
  8087. },
  8088. "openreqqty": {
  8089. "description": "开仓申请数量",
  8090. "type": "integer"
  8091. },
  8092. "opentotalqty": {
  8093. "description": "开仓总数量",
  8094. "type": "integer"
  8095. },
  8096. "otherfrozenqty": {
  8097. "description": "持仓其他冻结数量(交割冻结)",
  8098. "type": "integer"
  8099. },
  8100. "positionqty": {
  8101. "description": "期初持仓数量",
  8102. "type": "integer"
  8103. },
  8104. "szdz3freezqty": {
  8105. "description": "尚志大宗转换冻结总数量",
  8106. "type": "integer"
  8107. },
  8108. "tnqty": {
  8109. "description": "T+N冻结总量",
  8110. "type": "integer"
  8111. },
  8112. "tnusedqty": {
  8113. "description": "T+N使用量",
  8114. "type": "integer"
  8115. },
  8116. "trademode": {
  8117. "description": "交易模式",
  8118. "type": "integer"
  8119. },
  8120. "usedmargin": {
  8121. "description": "占用保证金",
  8122. "type": "number"
  8123. }
  8124. }
  8125. },
  8126. "taaccount.QueryAmountLogRsp": {
  8127. "type": "object",
  8128. "required": [
  8129. "accountid",
  8130. "amount",
  8131. "amountadjusttype",
  8132. "autoid",
  8133. "balance",
  8134. "createtime",
  8135. "currentbalance",
  8136. "operatetype"
  8137. ],
  8138. "properties": {
  8139. "OPERATETYPENAME": {
  8140. "description": "资金操作类型名称",
  8141. "type": "string"
  8142. },
  8143. "accountid": {
  8144. "description": "资金账户ID",
  8145. "type": "integer"
  8146. },
  8147. "agoodscode": {
  8148. "description": "竞拍商品代码",
  8149. "type": "string"
  8150. },
  8151. "agoodsname": {
  8152. "description": "竞拍商品名称",
  8153. "type": "string"
  8154. },
  8155. "amount": {
  8156. "description": "资金金额",
  8157. "type": "number"
  8158. },
  8159. "amountadjusttype": {
  8160. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  8161. "type": "integer"
  8162. },
  8163. "autoid": {
  8164. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  8165. "type": "integer"
  8166. },
  8167. "balance": {
  8168. "description": "期初余额",
  8169. "type": "number"
  8170. },
  8171. "businesscode": {
  8172. "description": "业务编号",
  8173. "type": "integer"
  8174. },
  8175. "createtime": {
  8176. "description": "发生时间",
  8177. "type": "string"
  8178. },
  8179. "currencyid": {
  8180. "description": "币种ID",
  8181. "type": "integer"
  8182. },
  8183. "currentbalance": {
  8184. "description": "期末余额(变动后金额)",
  8185. "type": "number"
  8186. },
  8187. "dgoodscode": {
  8188. "description": "交割商品代码",
  8189. "type": "string"
  8190. },
  8191. "dgoodsname": {
  8192. "description": "交割商品名称",
  8193. "type": "string"
  8194. },
  8195. "goodscode": {
  8196. "description": "商品代码",
  8197. "type": "string"
  8198. },
  8199. "goodsid": {
  8200. "description": "商品ID",
  8201. "type": "integer"
  8202. },
  8203. "goodsname": {
  8204. "description": "商品名称",
  8205. "type": "string"
  8206. },
  8207. "marketid": {
  8208. "description": "市场ID",
  8209. "type": "integer"
  8210. },
  8211. "marketname": {
  8212. "description": "市场名称",
  8213. "type": "string"
  8214. },
  8215. "moneyticket": {
  8216. "description": "资金流水号:银行端流水号",
  8217. "type": "integer"
  8218. },
  8219. "operatetype": {
  8220. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  8221. "type": "integer"
  8222. },
  8223. "relationorderid": {
  8224. "description": "关联单号",
  8225. "type": "string"
  8226. },
  8227. "remark": {
  8228. "description": "备注",
  8229. "type": "string"
  8230. },
  8231. "trademode": {
  8232. "description": "交易模式",
  8233. "type": "integer"
  8234. }
  8235. }
  8236. },
  8237. "taaccount.QueryHisAmountLogRsp": {
  8238. "type": "object",
  8239. "required": [
  8240. "accountid",
  8241. "amount",
  8242. "amountadjusttype",
  8243. "autoid",
  8244. "balance",
  8245. "createtime",
  8246. "currentbalance",
  8247. "histradedate",
  8248. "operatetype"
  8249. ],
  8250. "properties": {
  8251. "OPERATETYPENAME": {
  8252. "description": "资金操作类型名称",
  8253. "type": "string"
  8254. },
  8255. "accountid": {
  8256. "description": "资金账户ID",
  8257. "type": "integer"
  8258. },
  8259. "agoodscode": {
  8260. "description": "竞拍商品代码",
  8261. "type": "string"
  8262. },
  8263. "agoodsname": {
  8264. "description": "竞拍商品名称",
  8265. "type": "string"
  8266. },
  8267. "amount": {
  8268. "description": "资金金额",
  8269. "type": "number"
  8270. },
  8271. "amountadjusttype": {
  8272. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  8273. "type": "integer"
  8274. },
  8275. "autoid": {
  8276. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  8277. "type": "integer"
  8278. },
  8279. "balance": {
  8280. "description": "期初余额",
  8281. "type": "number"
  8282. },
  8283. "businesscode": {
  8284. "description": "业务编号",
  8285. "type": "integer"
  8286. },
  8287. "createtime": {
  8288. "description": "发生时间",
  8289. "type": "string"
  8290. },
  8291. "currencyid": {
  8292. "description": "币种ID",
  8293. "type": "integer"
  8294. },
  8295. "currentbalance": {
  8296. "description": "期末余额(变动后金额)",
  8297. "type": "number"
  8298. },
  8299. "dgoodscode": {
  8300. "description": "交割商品代码",
  8301. "type": "string"
  8302. },
  8303. "dgoodsname": {
  8304. "description": "交割商品名称",
  8305. "type": "string"
  8306. },
  8307. "goodscode": {
  8308. "description": "商品代码",
  8309. "type": "string"
  8310. },
  8311. "goodsid": {
  8312. "description": "商品ID",
  8313. "type": "integer"
  8314. },
  8315. "goodsname": {
  8316. "description": "商品名称",
  8317. "type": "string"
  8318. },
  8319. "histradedate": {
  8320. "description": "历史交易日",
  8321. "type": "string"
  8322. },
  8323. "isvaliddata": {
  8324. "description": "是否有效 - 0:无效 1:有效",
  8325. "type": "integer"
  8326. },
  8327. "marketid": {
  8328. "description": "市场ID",
  8329. "type": "integer"
  8330. },
  8331. "marketname": {
  8332. "description": "市场名称",
  8333. "type": "string"
  8334. },
  8335. "moneyticket": {
  8336. "description": "资金流水号:银行端流水号",
  8337. "type": "integer"
  8338. },
  8339. "operatetype": {
  8340. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  8341. "type": "integer"
  8342. },
  8343. "relationorderid": {
  8344. "description": "关联单号",
  8345. "type": "string"
  8346. },
  8347. "remark": {
  8348. "description": "备注",
  8349. "type": "string"
  8350. },
  8351. "trademode": {
  8352. "description": "交易模式",
  8353. "type": "integer"
  8354. }
  8355. }
  8356. }
  8357. },
  8358. "securityDefinitions": {
  8359. "ApiKeyAuth": {
  8360. "type": "apiKey",
  8361. "name": "Authorization",
  8362. "in": "header"
  8363. }
  8364. }
  8365. }