swagger.json 336 KB

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