swagger.json 387 KB

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