swagger.json 365 KB

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